diff OrthancServer/OrthancInitialization.cpp @ 942:b3f6fb1130cd

fixes thanks to cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 25 Jun 2014 11:36:41 +0200
parents 03ea55da7429
children 871c49c9b11d
line wrap: on
line diff
--- a/OrthancServer/OrthancInitialization.cpp	Wed Jun 25 11:08:11 2014 +0200
+++ b/OrthancServer/OrthancInitialization.cpp	Wed Jun 25 11:36:41 2014 +0200
@@ -299,7 +299,7 @@
     {
       LOG(ERROR) << "Syntax error in the definition of modality \"" << name 
                  << "\". Please check your configuration file.";
-      throw e;
+      throw;
     }
   }
 
@@ -330,7 +330,7 @@
     {
       LOG(ERROR) << "Syntax error in the definition of peer \"" << name 
                  << "\". Please check your configuration file.";
-      throw e;
+      throw;
     }
   }