Skip to content
Snippets Groups Projects
Commit 2165bf48 authored by Sean McBride's avatar Sean McBride
Browse files

Updated cppcheck suppressions

The / was preventing libtoken warnings from being suppressed, for some unknown reason.
parent 476fb11a
No related branches found
No related tags found
No related merge requests found
// This file contains enough suppressions to result in no cppcheck warnings,
// at least on macOS with cppcheck 2.12 with the flags below.
// at least on macOS with cppcheck 2.15 with the flags below.
// To run:
// cd /path/to/VTK/
......@@ -44,6 +44,10 @@ readdirCalled
duplicateExpression:*/IO/PostgreSQL/vtkPostgreSQLQuery.cxx
unpreciseMathCall
// Same expression 'methTypeLong&&propertyTypeLongLong' found multiple times in chain of '||' operators because 'methTypeLong&&propertyTypeLongLong' and 'propertyTypeLongLong&&methTypeLong' represent the same value.
// This is due to the long and long long being the same type on some platforms, but not others, so hard to fix portably
knownConditionTrueFalse:*/Wrapping/Tools/vtkParseProperties.c
// Using reallocf() would be a good solution, but it's not available on all platforms.
memleakOnRealloc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment