comparison 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
comparison
equal deleted inserted replaced
5458:d7c9c85d78dc 5460:1474fd6ea6c6
662 } 662 }
663 } 663 }
664 664
665 if (mainDicomTagsComparisons.size() > 0) 665 if (mainDicomTagsComparisons.size() > 0)
666 { 666 {
667 std::string comparisons;
668 for (std::vector<std::string>::const_iterator it = mainDicomTagsComparisons.begin(); it < mainDicomTagsComparisons.end(); ++it) 667 for (std::vector<std::string>::const_iterator it = mainDicomTagsComparisons.begin(); it < mainDicomTagsComparisons.end(); ++it)
669 { 668 {
670 sql += (" AND internalId IN (SELECT id FROM MainDicomTags WHERE " + *it + ") "); 669 sql += (" AND internalId IN (SELECT id FROM MainDicomTags WHERE " + *it + ") ");
671 } 670 }
672 } 671 }