diff OrthancServer/OrthancInitialization.cpp @ 1545:33d34bc4ac15

fix msvc warnings
author jodogne
date Thu, 13 Aug 2015 21:02:31 +0200
parents 95b3b0260240
children d7e569640d09
line wrap: on
line diff
--- a/OrthancServer/OrthancInitialization.cpp	Thu Aug 13 20:39:30 2015 +0200
+++ b/OrthancServer/OrthancInitialization.cpp	Thu Aug 13 21:02:31 2015 +0200
@@ -422,7 +422,7 @@
     {
       modality.FromJson(modalities[name]);
     }
-    catch (OrthancException& e)
+    catch (OrthancException&)
     {
       LOG(ERROR) << "Syntax error in the definition of DICOM modality \"" << name 
                  << "\". Please check your configuration file.";
@@ -455,7 +455,7 @@
 
       peer.FromJson(modalities[name]);
     }
-    catch (OrthancException& e)
+    catch (OrthancException&)
     {
       LOG(ERROR) << "Syntax error in the definition of peer \"" << name 
                  << "\". Please check your configuration file.";