diff Plugin/JavaEnvironment.cpp @ 33:10406d66d1c6

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 14 Jun 2024 11:14:02 +0200
parents 4a750ca9461e
children
line wrap: on
line diff
--- a/Plugin/JavaEnvironment.cpp	Fri Jun 14 10:50:52 2024 +0200
+++ b/Plugin/JavaEnvironment.cpp	Fri Jun 14 11:14:02 2024 +0200
@@ -123,8 +123,8 @@
 {
   if (GetValue().ThrowNew(FindClass(fqn), message.c_str()) != 0)
   {
-    std::string message = "Cannot throw exception " + fqn;
-    OrthancPluginLogError(context_, message.c_str());
+    std::string tmp = "Cannot throw exception " + fqn;
+    OrthancPluginLogError(context_, tmp.c_str());
   }
 }