Skip to content

Fixed & supressed various cppcheck 1.89 warnings

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

Fixed: passedByValue,IO/ADIOS2/VTX/schema/vtk/VTXvtkBase.cxx:44,performance,Function parameter 'type' should be passed by const reference. passedByValue,IO/ADIOS2/VTX/schema/VTXSchema.cxx:32,performance,Function parameter 'type' should be passed by const reference. passedByValue,IO/ADIOS2/VTX/schema/VTXSchema.h:68,performance,Function parameter 'type' should be passed by const reference. redundantInitialization,Wrapping/Tools/vtkParseHierarchy.c:1154,style,Redundant initialization for 'newname'. The initialized value is overwritten before it is read. unreadVariable,IO/ADIOS2/VTX/schema/vtk/VTXvtkBase.cxx:86,style,Variable 'foundTime' is assigned a value that is never used. unsignedLessThanZero,IO/Geometry/vtkGLTFUtils.cxx:335,style,Checking if unsigned expression 'chunkInfo.size()' is less than zero.

Merge request reports