diff OrthancFramework/Sources/DicomParsing/DicomModification.cpp @ 4690:13efc0967cea

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 10 Jun 2021 11:21:22 +0200
parents 177ad026d219
children a08ef46c95a1
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomParsing/DicomModification.cpp	Thu Jun 10 10:54:14 2021 +0200
+++ b/OrthancFramework/Sources/DicomParsing/DicomModification.cpp	Thu Jun 10 11:21:22 2021 +0200
@@ -498,7 +498,7 @@
     else
     {
       for (RemovedRanges::const_iterator it = removedRanges_.begin();
-           it != removedRanges_.end(); it++)
+           it != removedRanges_.end(); ++it)
       {
         if (it->Contains(tag))
         {
@@ -1389,7 +1389,6 @@
     Json::Value lst = Json::arrayValue;
     for (ListOfPaths::const_iterator it = keepSequences_.begin(); it != keepSequences_.end(); ++it)
     {
-      assert(it->GetPrefixLength() > 0);
       lst.append(it->Format());
     }