[vtk-developers] Need help with a few clang analyzer warnings

Berk Geveci berk.geveci at kitware.com
Wed Dec 10 10:30:14 EST 2014


Hi Sean,

5a and 5b look very suspicious. Let me track those down next week.

Best,
-berk

On Tue, Dec 9, 2014 at 3:39 PM, Sean McBride <sean at rogue-research.com>
wrote:

> Hi,
>
> Thanks all for your help with these.  Everything I've mentioned so far is
> fixed, yay!  Here's a new batch of suspicious dead code, that I'm not
> comfortable just removing (though it's certainly dead).  If you are an
> expert in any of the classes below, can you svp take a look?
>
> 5a) Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx:141:9:
> Value stored to 'result' is never read
>
> 5b) Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx:291:11:
> Value stored to 'result' is never read
>
> 6a) Interaction/Widgets/vtkSphereRepresentation.cxx:530:5: Value stored to
> 'radius' is never read
>
> 6b) Interaction/Widgets/vtkSphereWidget.cxx:716:5: Value stored to
> 'radius' is never read
>
> 7) Interaction/Widgets/vtkPointHandleRepresentation3D.cxx:277:20: Value
> stored to 'path' during its initialization is never read
>
> Thanks,
>
> --
> ____________________________________________________________
> Sean McBride, B. Eng                 sean at rogue-research.com
> Rogue Research                        www.rogue-research.com
> Mac Software Developer              Montréal, Québec, Canada
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtk-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20141210/32dc32e4/attachment.html>


More information about the vtk-developers mailing list