Commit aa0e9495 authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

ERR: Remove unused variable

parent 94c4144f
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#include <sys/stat.h> #include <sys/stat.h>
vtkStandardNewMacro(vtkTesting); vtkStandardNewMacro(vtkTesting);
vtkCxxRevisionMacro(vtkTesting, "1.1"); vtkCxxRevisionMacro(vtkTesting, "1.2");
vtkCxxSetObjectMacro(vtkTesting, RenderWindow, vtkRenderWindow); vtkCxxSetObjectMacro(vtkTesting, RenderWindow, vtkRenderWindow);
...@@ -422,12 +422,11 @@ int vtkTesting::Test(int argc, char *argv[], vtkRenderWindow *rw, ...@@ -422,12 +422,11 @@ int vtkTesting::Test(int argc, char *argv[], vtkRenderWindow *rw,
} }
} }
int frontBuffer = 0; testing->FrontBufferOff();
for (i=0; i<argc; i++) for (i=0; i<argc; i++)
{ {
if ( strcmp("-FrontBuffer", argv[i]) == 0 ) if ( strcmp("-FrontBuffer", argv[i]) == 0 )
{ {
frontBuffer = 1;
testing->FrontBufferOn(); testing->FrontBufferOn();
} }
} }
......
Markdown is supported
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