diff Plugins/Engine/OrthancPlugins.cpp @ 1840:859224214616

simplification of the sample plugin
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 30 Nov 2015 10:34:04 +0100
parents 47d032c48818
children 697ae8d0e287
line wrap: on
line diff
--- a/Plugins/Engine/OrthancPlugins.cpp	Fri Nov 27 18:17:31 2015 +0100
+++ b/Plugins/Engine/OrthancPlugins.cpp	Mon Nov 30 10:34:04 2015 +0100
@@ -2285,10 +2285,8 @@
         {
           return reinterpret_cast<ImageAccessor*>(pluginImage);
         }
-        else
-        {
-          LOG(WARNING) << "The custom image decoder cannot handle an image, trying with the built-in decoder";
-        }
+
+        LOG(WARNING) << "The custom image decoder cannot handle an image, trying with the built-in decoder";
       }
     }