Commit 2d3efab1 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Fix compiler warning: this statement may fall through.

parent 8543aab9
......@@ -332,11 +332,11 @@ void cdiGridTypeInit(grid_t *gridptr, int gridtype, int size)
}
case GRID_CHARXY:
{
if ( gridptr->x.cvals )
gridptr->x.stdname = xystdname_tab[grid_xystdname_char][0];
if ( gridptr->y.cvals )
gridptr->y.stdname = xystdname_tab[grid_xystdname_char][0];
}
if ( gridptr->x.cvals ) gridptr->x.stdname = xystdname_tab[grid_xystdname_char][0];
if ( gridptr->y.cvals ) gridptr->y.stdname = xystdname_tab[grid_xystdname_char][0];
break;
}
case GRID_GENERIC:
case GRID_PROJECTION:
{
......
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