Mercurial > hg > orthanc
changeset 2727:815e30657dad jobs
fix warning
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 12 Jul 2018 21:50:15 +0200 |
parents | 46061a91c88a |
children | cdf13d06cf40 fab6b36cdec0 |
files | OrthancServer/LuaScripting.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancServer/LuaScripting.cpp Thu Jul 12 18:01:16 2018 +0200 +++ b/OrthancServer/LuaScripting.cpp Thu Jul 12 21:50:15 2018 +0200 @@ -537,7 +537,7 @@ LuaJobManager::Lock lock(jobManager_, context_.GetJobsEngine()); bool isFirst = true; - size_t previous; + size_t previous = 0; // Dummy initialization to avoid warning for (Json::Value::ArrayIndex i = 0; i < operations.size(); ++i) {