Commit 3a5a87da authored by Ken Martin's avatar Ken Martin
Browse files

compiler warning fix

parent 6109e47b
......@@ -61,7 +61,6 @@ int vtkLine::EvaluatePosition(float x[3], float closestPoint[3],
float& dist2, float *weights)
{
float *a1, *a2;
int i;
subId = 0;
pcoords[1] = pcoords[2] = 0.0;
......@@ -180,11 +179,11 @@ typedef struct {
VERT_LIST verts[2];
} LINE_CASES;
static LINE_CASES lineCases[]= {
{-1,-1},
{1,0},
{0,1},
{-1,-1}};
static LINE_CASES lineCases[4]= {
{{-1,-1}},
{{1,0}},
{{0,1}},
{{-1,-1}}};
void vtkLine::Contour(float value, vtkFloatScalars *cellScalars,
vtkFloatPoints *points,
......@@ -197,7 +196,7 @@ void vtkLine::Contour(float value, vtkFloatScalars *cellScalars,
VERT_LIST *vert;
float t, x[3], *x1, *x2;
int pts[1];
lines; polys;
//
// Build the case table
//
......
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