# HG changeset patch # User Sebastien Jodogne # Date 1732637869 -3600 # Node ID 120e2262201ac4fec9e0a4ec4d9adaaec56523fe # Parent 9935c4bdbc69207dd502e5657eef682226e83db9 cppcheck diff -r 9935c4bdbc69 -r 120e2262201a Sources/Plugin.cpp --- a/Sources/Plugin.cpp Tue Nov 26 17:15:31 2024 +0100 +++ b/Sources/Plugin.cpp Tue Nov 26 17:17:49 2024 +0100 @@ -751,13 +751,13 @@ } std::string jsonModalities; - for (std::set::const_iterator it = modalities.begin(); it != modalities.end(); ++it) + for (std::set::const_iterator it2 = modalities.begin(); it2 != modalities.end(); ++it2) { if (!jsonModalities.empty()) { jsonModalities += ","; } - jsonModalities += *it; + jsonModalities += *it2; } study["NumInstances"] = countInstances;