[vtk-developers] Naming variables in function definitions

Bill Lorensen bill.lorensen at gmail.com
Wed Dec 9 16:08:12 EST 2009


Depending on the situation, this may cause warnings by some compilers.
This will occur if the body of the method is present and the variable
is not used.

Also, remember if you change anything other than a comment, always
recompile, run the tests and check the dashboard for at least a day
for errors, failing tests or warnings.

On Wed, Dec 9, 2009 at 3:32 PM, David Doria <daviddoria+vtk at gmail.com> wrote:
> Under my "limited write access" contract, is it OK if I name currently
> unnamed variables in function declarations? e.g. change
>
>  static float RadiansFromDegrees( float );
>
> to
>
>  static float RadiansFromDegrees( float degrees);
>
> Thanks,
>
> David
> _______________________________________________
> 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://www.vtk.org/mailman/listinfo/vtk-developers
>
>



More information about the vtk-developers mailing list