Skip to content
  • Sean McBride's avatar
    Fixed more cppcheck 1.84 warnings · c868a18d
    Sean McBride authored
    This fixed issues were:
    
    clarifyCondition,Common/Core/vtkLargeInteger.cxx:355
    identicalInnerCondition,Filters/Texture/vtkTextureMapToPlane.cxx:103,warning,Identical inner 'if' condition is always true.
    nullPointerArithmeticRedundantCheck,Rendering/GL2PSOpenGL2/vtkOpenGLGL2PSHelperImpl.cxx:173,warning,Either the condition '!data' is redundant or there is pointer arithmetic with NULL pointer.
    identicalInnerCondition,Filters/FlowPaths/vtkModifiedBSPTree.cxx:1069,warning,Identical inner 'if' condition is always true.
    identicalInnerCondition,Rendering/OpenGL2/vtkOSOpenGLRenderWindow.cxx:199,warning,Identical inner 'if' condition is always true.
    nullPointerArithmeticRedundantCheck,Infovis/BoostGraphAlgorithms/vtkBoostGraphAdapter.h:222,warning,Either the condition 'iter!=0' is redundant or there is pointer arithmetic with NULL pointer.
    
    The vtkTestingRenderingDriver.cmake changed cause many many warnings in files generated from it.
    c868a18d