Commit 4f679659 authored by Robert Maynard's avatar Robert Maynard Committed by Kitware Robot
Browse files

Merge topic 'always-false'


 Use a more cannonical way to ignore a variable
Acked-by: Kitware Robot's avatarKitware Robot <>
Merge-request: !1638
parents 3fa4bc98 20798b5d
......@@ -43,12 +43,8 @@ const char inputDataStream[] =
// Test of contour/clip of vtkPolyhedron. uses input from
int TestPolyhedron3(int argc, char *argv[])
// the next two lines are only in the test to get rid of compiler warnings
// I cannot make the function without the parameters, because that is what
// is expected. At the same time, I also can't not reference them, because
// that give a warning.
if (argc < 0 && argc > 0) return 1; // reference one formal parameter
if (!argv && argv) return 1; // reference another formal parameter
vtkNew<vtkUnstructuredGridReader> reader;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment