[vtk-developers] help wih 3 cppcheck warnings (vtkCell3D.cxx & vtkExtractSelectedIds.cxx)

Sean McBride sean at rogue-research.com
Wed Sep 19 21:55:47 EDT 2018


Hi all,

Anyone familiar with these 2 classes want to tackle these 3 cppcheck warnings?  They are not false positives, there is definite code smell:

oppositeExpression,Common/DataModel/vtkCell3D.cxx:122,style,Opposite expression on both sides of '||'.

identicalInnerCondition,Filters/Extraction/vtkExtractSelectedIds.cxx:358,warning,Identical inner 'if' condition is always true.

identicalInnerCondition,Filters/Extraction/vtkExtractSelectedIds.cxx:507,warning,Identical inner 'if' condition is always true.

Cheers,

Sean




More information about the vtk-developers mailing list