diff Plugins/Engine/OrthancPlugins.cpp @ 2836:7133ad478eea

fix Debian warnings
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 20 Sep 2018 16:17:46 +0200
parents d4fd4614f275
children 9d277f8ad698
line wrap: on
line diff
--- a/Plugins/Engine/OrthancPlugins.cpp	Thu Sep 20 11:27:48 2018 +0200
+++ b/Plugins/Engine/OrthancPlugins.cpp	Thu Sep 20 16:17:46 2018 +0200
@@ -393,7 +393,7 @@
 
     void SetServerContext(ServerContext* context)
     {
-      boost::mutex::scoped_lock(contextMutex_);
+      boost::mutex::scoped_lock lock(contextMutex_);
       context_ = context;
     }