Skip to content
Permalink
Browse files

src/core/pal/problem.cpp: silence likely cppcheck false positive abou…

…t invalid index passed to at()
  • Loading branch information
rouault committed Jun 2, 2020
1 parent c286746 commit 7b63dc012bc99a243e856023bb7d2622c8263468
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/pal/problem.cpp
@@ -534,6 +534,7 @@ inline Chain *Problem::chain( int seed )


tmpsol[seed] = retainedLabel;
// cppcheck-suppress invalidFunctionArg
delta += mLabelPositions.at( retainedLabel )->cost();
seed = next_seed;
}

0 comments on commit 7b63dc0

Please sign in to comment.
You can’t perform that action at this time.