Mercurial > hg > orthanc
diff OrthancServer/Sources/Search/ISqlLookupFormatter.cpp @ 5460:1474fd6ea6c6
CppCheck
author | Alain Mazy <am@osimis.io> |
---|---|
date | Mon, 11 Dec 2023 12:03:48 +0100 |
parents | 7f37233359aa |
children | 78f68ad10b69 |
line wrap: on
line diff
--- a/OrthancServer/Sources/Search/ISqlLookupFormatter.cpp Fri Dec 08 10:26:53 2023 +0100 +++ b/OrthancServer/Sources/Search/ISqlLookupFormatter.cpp Mon Dec 11 12:03:48 2023 +0100 @@ -664,7 +664,6 @@ if (mainDicomTagsComparisons.size() > 0) { - std::string comparisons; for (std::vector<std::string>::const_iterator it = mainDicomTagsComparisons.begin(); it < mainDicomTagsComparisons.end(); ++it) { sql += (" AND internalId IN (SELECT id FROM MainDicomTags WHERE " + *it + ") ");