Commit 46610592 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Merge declaration and initialization.

parent 37fceb01
......@@ -4460,11 +4460,10 @@ int varDefGrid(int vlistID, const grid_t *grid, int mode)
1 search in grid table
*/
int gridglobdefined = FALSE;
int griddefined;
int griddefined = FALSE;
int gridID = CDI_UNDEFID;
vlist_t *vlistptr = vlist_to_pointer(vlistID);
griddefined = FALSE;
unsigned ngrids = (unsigned)vlistptr->ngrids;
if ( mode == 0 )
......
Supports Markdown
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