Commit a3edfe8a authored by Uwe Schulzweida's avatar Uwe Schulzweida

Merge declaration and initialization.

parent 026ef7fc
......@@ -741,7 +741,6 @@ void *Remap(void *argument)
{
int streamID2 = -1;
int nrecs;
int index;
int varID, levelID;
int gridsize, gridsize2;
int gridID1 = -1, gridID2;
......@@ -842,7 +841,7 @@ void *Remap(void *argument)
int ngrids = vlistNgrids(vlistID1);
bool remapgrids[ngrids];
index = set_remapgrids(filetype, vlistID1, ngrids, remapgrids);
int index = set_remapgrids(filetype, vlistID1, ngrids, remapgrids);
gridID1 = vlistGrid(vlistID1, index);
for ( index = 0; index < ngrids; index++ )
......
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