diff Core/JobsEngine/JobsRegistry.cpp @ 2828:859a4950d48f

fix warnings
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 20 Sep 2018 08:57:46 +0200
parents ea7aea6f6a95
children 251614c2edac
line wrap: on
line diff
--- a/Core/JobsEngine/JobsRegistry.cpp	Wed Sep 19 21:10:49 2018 +0200
+++ b/Core/JobsEngine/JobsRegistry.cpp	Thu Sep 20 08:57:46 2018 +0200
@@ -691,7 +691,7 @@
     std::string id;
     Submit(id, job, priority);
 
-    JobState state;
+    JobState state = JobState_Pending;
 
     {
       boost::mutex::scoped_lock lock(mutex_);