diff OrthancServer/OrthancInitialization.cpp @ 657:5425bb6f1ea5

further cppcheck fixes
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 04 Nov 2013 11:46:23 +0100
parents 08eca5d86aad
children f0232774b913
line wrap: on
line diff
--- a/OrthancServer/OrthancInitialization.cpp	Mon Nov 04 11:19:31 2013 +0100
+++ b/OrthancServer/OrthancInitialization.cpp	Mon Nov 04 11:46:23 2013 +0100
@@ -144,10 +144,10 @@
         {
           RegisterUserMetadata(metadata, members[i]);
         }
-        catch (OrthancException& e)
+        catch (OrthancException&)
         {
           LOG(ERROR) << "Cannot register this user-defined metadata: " << info;
-          throw e;
+          throw;
         }
       }
     }