Commit 49da17f0 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Merge declaration and initialization.

parent 1ad087af
......@@ -108,7 +108,7 @@ void *Intlevel3d(void *argument)
size_t gridsize, gridSize, gridsizei, gridsizeo;
int nrecs;
int i, offset;
int tsID, varID, levelID;
int varID, levelID;
int nvars,nvct;
size_t nmiss;
int zaxisID1 = -1, zaxisID3;
......@@ -401,7 +401,7 @@ void *Intlevel3d(void *argument)
}
if ( varID == nvars ) cdoAbort("No processable variable found!");
tsID = 0;
int tsID = 0;
while ( (nrecs = pstreamInqTimestep(streamID1, tsID)) )
{
for ( varID = 0; varID < nvars; ++varID ) vars[varID] = false;
......
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