Skip to content

Fixed many warnings on cdash

Sean McBride requested to merge seanm/vtk:misc-warnings into master

Specifically:

Filters/FlowPaths/vtkTemporalInterpolatedVelocityField.cxx:339:19: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]

Filters/Sources/vtkHyperTreeGridPreConfiguredSource.h:151:11: warning: '~vtkHyperTreeGridPreConfiguredSource' overrides a destructor but is not marked 'override' [-Winconsistent-missing-destructor-override]

Filters/Statistics/Testing/Cxx/TestLengthDistribution.cxx:34:24: warning: variable 'ug' set but not used [-Wunused-but-set-variable]

IO/Cesium3DTiles/vtkCesium3DTilesWriter.cxx:219:58: warning: unused parameter 'port' [-Wunused-parameter]

IO/Cesium3DTiles/vtkCesiumPointCloudWriter.cxx:78:27: warning: unused parameter 'array' [-Wunused-parameter]

IO/Cesium3DTiles/TreeInformation.cxx:924:81: warning: unused parameter 'node' [-Wunused-parameter]

Charts/Core/vtkPlotParallelCoordinates.cxx:211:25: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]

Charts/Core/vtkPlotParallelCoordinates.cxx:233:25: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]

Rendering/VolumeOpenGL2/vtkOpenGLGPUVolumeRayCastMapper.cxx:566:21: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]

IO/IOSS/vtkIOSSModel.cxx:617:32: warning: comparison of integers of different signs: 'std::vector<int>::size_type' (aka 'unsigned long') and 'const int64_t' (aka 'const long long') [-Wsign-compare]
IO/IOSS/vtkIOSSModel.cxx:618:34: warning: comparison of integers of different signs: 'std::vector<int>::size_type' (aka 'unsigned long') and 'long long' [-Wsign-compare]

IO/IOSS/vtkIOSSModel.cxx:792:31: warning: comparison of integers of different signs: 'std::vector<int>::size_type' (aka 'unsigned long') and 'long long' [-Wsign-compare]

IO/Cesium3DTiles/TreeInformation.cxx:613:92: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]

IO/IOSS/vtkIOSSModel.cxx:630:21: warning: unused variable 'elementCount' [-Wunused-variable]
IO/IOSS/vtkIOSSModel.cxx:634:17: warning: unused variable 'nodeCount' [-Wunused-variable]
Edited by Mathieu Westphal (Kitware)

Merge request reports