Skip to content

Remove redundant ivar to fix cppcheck warnings

Sean McBride requested to merge seanm/vtk:uncert-tube-cppcheck into master

cppcheck warned:

vtkUncertaintyTubeFilter.cxx:83,warning,Member variable 'vtkTubePoint::V0' is not assigned a value in 'vtkTubePoint::operator='. vtkUncertaintyTubeFilter.cxx:83,warning,Member variable 'vtkTubePoint::V1' is not assigned a value in 'vtkTubePoint::operator='. vtkUncertaintyTubeFilter.cxx:83,warning,Member variable 'vtkTubePoint::V2' is not assigned a value in 'vtkTubePoint::operator='. vtkUncertaintyTubeFilter.cxx:83,warning,Member variable 'vtkTubePoint::Vector' is not assigned a value in 'vtkTubePoint::operator='.

I did 2 fixes:

  • actually copy 'Vector' is the copy ctor
  • remove the 'V' ivar because it was merely an alias to 3 other ivars

Merge request reports

Loading