Commit 5ec9cd70 authored by hkrishna's avatar hkrishna
Browse files

adding fix for curveIndex declaration error. Credit goes to Kathleen

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@23671 18c085ea-50e0-402c-830e-de6fd14e8384
parent a80b19fd
......@@ -532,7 +532,7 @@ avtCurve2DFileFormat::ReadFile(void)
int start = 0;
cutoff.push_back((int)xl.size()); // Make logic easier.
centering.push_back(useCentering); // ditto
//int curveIndex = 0;
int curveIndex = 0; (void) curveIndex;
for (size_t i = 0 ; i < cutoff.size() ; i++)
{
if (start == cutoff[i])
......@@ -547,7 +547,6 @@ avtCurve2DFileFormat::ReadFile(void)
#ifdef MDSERVER
vtkRectilinearGrid *rg = vtkRectilinearGrid::New();
#else
int curveIndex = 0;
vtkRectilinearGrid *rg = vtkVisItUtility::Create1DRGrid(nPts,VTK_FLOAT);
vtkFloatArray *vals = vtkFloatArray::New();
......
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