Skip to content
Snippets Groups Projects
Commit 5e0a850c authored by Thomas Jahns's avatar Thomas Jahns :cartwheel:
Browse files

Narrow scope of variable.

parent baebb5b7
No related branches found
No related tags found
No related merge requests found
......@@ -926,7 +926,6 @@ cdfDefSPorFC(stream_t *streamptr, int gridID,
int dimID = UNDEFID;
int vlistID = streamptr->vlistID;
int fileID = streamptr->fileID;
int ngrids = vlistNgrids(vlistID);
......@@ -954,6 +953,7 @@ cdfDefSPorFC(stream_t *streamptr, int gridID,
if ( dimID == UNDEFID )
{
int fileID = streamptr->fileID;
if ( iz == 0 ) axisname[3] = '\0';
else sprintf(&axisname[3], "%1d", iz+1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment