[Insight-developers] warning about uninitialized variable or unused value

Luis Ibanez luis.ibanez at kitware.com
Sun Jan 24 09:59:44 EST 2010


Hi Gaetan, Bill

Is this still an issue ?

It seems that Bill committed a change to this
section of the code in order to fix the Borland
warning.


   Thanks for any hint,


           Luis


--------------------------------------------------------------
2010/1/23 Gaëtan Lehmann <gaetan.lehmann at jouy.inra.fr>:
>
> Hi,
>
> I've just assigned a value to matrixDet in LabelGeometryImageFilter to avoid
> this warning with gcc:
>
> /home/glehmann/src/tests/Insight/Code/Review/itkLabelGeometryImageFilter.txx:94:
> attention : ‘matrixDet’ may be used uninitialized in this function
>
> but now we get this one with borland:
>
> http://www.cdash.org/CDash/viewBuildError.php?type=1&buildid=521769
>
> What is the best option for this kind of problem?
>
> Regards,
>
> Gaëtan
>
>
> --
> Gaëtan Lehmann
> Biologie du Développement et de la Reproduction
> INRA de Jouy-en-Josas (France)
> tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
> http://voxel.jouy.inra.fr  http://www.itk.org
> http://www.mandriva.org  http://www.bepo.fr
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
>
>


More information about the Insight-developers mailing list