Skip to content

Fixed a few cppcheck warnings, some new from version 1.83; suppressed others

Sean McBride requested to merge seanm/vtk:cppcheck1.83 into master

The fixed warnings were:

knownConditionTrueFalse,Filters/ParallelGeometry/vtkPUnstructuredGridGhostCellsGenerator.cxx:399,style,Condition 'inputGridCopy' is always false

useInitializationList,Common/Math/vtkQuaternionInterpolator.cxx:41,performance,Variable 'Q' is assigned in constructor body. Consider performing initialization in initialization list.

uninitMemberVar,Filters/Modeling/vtkContourLoopExtraction.cxx:210,warning,Member variable 'vtkContourLoopExtraction::DataSetBounds' is not initialized in the constructor.

uninitMemberVar,Filters/Modeling/vtkContourLoopExtraction.cxx:210,warning,Member variable 'vtkContourLoopExtraction::DataDimension' is not initialized in the constructor.

uninitMemberVar,Filters/Modeling/vtkContourLoopExtraction.cxx:210,warning,Member variable 'vtkContourLoopExtraction::Bounds' is not initialized in the constructor.

Merge request reports