[vtk-developers] cppcheck help with: vtkPlanes, vtkX3DExporterFIWriter, vtkXdmfHeavyData, vtkGPUVolumeRayCastMapper, vtkLineWidget

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Tue Dec 8 07:36:17 EST 2015


> (c)
> duplicateExpressionTernary,IO/Xdmf2/vtkXdmfHeavyData.cxx:1199,style,Same expression in both branches of ternary operator.
>
>   count[0] += (update_extents[5] - update_extents[4] > 0)? 1 : 1;
>
> Clearly odd.

Here's the fix: https://gitlab.kitware.com/vtk/vtk/merge_requests/980

Utkarsh


More information about the vtk-developers mailing list