Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
2827:d4fd4614f275 | 2828:859a4950d48f |
---|---|
689 int priority) | 689 int priority) |
690 { | 690 { |
691 std::string id; | 691 std::string id; |
692 Submit(id, job, priority); | 692 Submit(id, job, priority); |
693 | 693 |
694 JobState state; | 694 JobState state = JobState_Pending; |
695 | 695 |
696 { | 696 { |
697 boost::mutex::scoped_lock lock(mutex_); | 697 boost::mutex::scoped_lock lock(mutex_); |
698 | 698 |
699 while (GetStateInternal(state, id) && | 699 while (GetStateInternal(state, id) && |