[vtk-developers] Unused arguments warnings

David Doria daviddoria+vtk at gmail.com
Fri Sep 3 11:54:51 EDT 2010


> Another option is:
>
> int TestName(int argc, char* argv[])
> {
>  (void)argc;
>  (void)argv;
>
> }
>
> which is done is some VTK files... Dunno if there is a preferred convention.

If we can come to a consensus on a convention and write it down here:
http://www.vtk.org/Wiki/VTK_Coding_Standards , I volunteer to make
everything consistent.

Bill - when you said "is really for internal vtk developers" do you
mean VTK class functions only as opposed to Tests?

David



More information about the vtk-developers mailing list