Commit 616ad59d authored by David Doria's avatar David Doria
Browse files

ENH: fixed unused argc,argv warnings

parent 90e1452e
...@@ -42,7 +42,7 @@ public: ...@@ -42,7 +42,7 @@ public:
}; };
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
int TestContext( int argc, char * argv [] ) int TestContext( int, char * [] )
{ {
// Set up a 2D context view, context test object and add it to the scene // Set up a 2D context view, context test object and add it to the scene
vtkSmartPointer<vtkContextView> view = vtkSmartPointer<vtkContextView>::New(); vtkSmartPointer<vtkContextView> view = vtkSmartPointer<vtkContextView>::New();
......
...@@ -44,7 +44,7 @@ public: ...@@ -44,7 +44,7 @@ public:
}; };
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
int TestDiagram( int argc, char * argv [] ) int TestDiagram( int, char * [] )
{ {
// Set up a 2D chart actor, APIDiagram object andn add them to the renderer // Set up a 2D chart actor, APIDiagram object andn add them to the renderer
VTK_CREATE(vtkContextActor, actor); VTK_CREATE(vtkContextActor, actor);
......
...@@ -90,7 +90,7 @@ public: ...@@ -90,7 +90,7 @@ public:
}; };
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
int TestGLSL( int argc, char * argv [] ) int TestGLSL( int, char * [] )
{ {
// Set up a 2D context view, context test object and add it to the scene // Set up a 2D context view, context test object and add it to the scene
VTK_CREATE(vtkContextView, view); VTK_CREATE(vtkContextView, view);
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include "vtkRenderWindowInteractor.h" #include "vtkRenderWindowInteractor.h"
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
int TestLinePlot( int argc, char * argv [] ) int TestLinePlot( int, char * [] )
{ {
// Set up a 2D scene, add an XY chart to it // Set up a 2D scene, add an XY chart to it
vtkSmartPointer<vtkContextView> view = vtkSmartPointer<vtkContextView> view =
......
...@@ -125,7 +125,7 @@ char TestLinePlotInteractionLog[] = ...@@ -125,7 +125,7 @@ char TestLinePlotInteractionLog[] =
"ExitEvent 395 300 0 0 0 0 0"; "ExitEvent 395 300 0 0 0 0 0";
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
int TestLinePlotInteraction(int argc, char * argv[]) int TestLinePlotInteraction(int, char * [])
{ {
// Set up a 2D scene, add an XY chart to it // Set up a 2D scene, add an XY chart to it
vtkSmartPointer<vtkContextView> view = vtkSmartPointer<vtkContextView> view =
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#define vsp(type, name) \ #define vsp(type, name) \
vtkSmartPointer<vtk##type> name = vtkSmartPointer<vtk##type>::New() vtkSmartPointer<vtk##type> name = vtkSmartPointer<vtk##type>::New()
int TestCellDataToPointData (int argc, char* argv []) int TestCellDataToPointData (int, char*[])
{ {
char const name [] = "RTData"; char const name [] = "RTData";
vsp(RTAnalyticSource, wavelet); vsp(RTAnalyticSource, wavelet);
......
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