Commit 28e33d8e authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

remove eclipse warnings

parent 4d433a6e
......@@ -105,6 +105,7 @@ int cgribexGetTimeUnit(int *isec1)
Message("GRIB time unit %d unsupported!", ISEC1_TimeUnit);
lprint = FALSE;
}
break;
}
return (timeunit);
......@@ -142,6 +143,7 @@ int cgribexGetTsteptype(int timerange)
Message("GRIB time range %d unsupported!", timerange);
lprint = FALSE;
}
break;
}
return (tsteptype);
......@@ -1873,6 +1875,7 @@ void cgribexDefGrid(int *isec1, int *isec2, int *isec4, int gridID)
{
Warning("The CGRIBEX library can not store fields on the used grid!");
Error("Unsupported grid type: %s", gridNamePtr(gridtype));
break;
}
}
}
......
......@@ -331,6 +331,7 @@ int gribapiGetValidityDateTime(grib_handle *gh, int *vdate, int *vtime)
Warning("Time unit %d unsupported", timeUnits);
lprint = FALSE;
}
break;
}
julday_add_seconds(addsec, &julday, &secofday);
......@@ -2533,6 +2534,7 @@ void gribapiDefGrid(int editionNumber, grib_handle *gh, int gridID, int ljpeg, i
default:
{
Error("Unsupported grid type: %s", gridNamePtr(gridtype));
break;
}
}
}
......
......@@ -113,6 +113,7 @@ long cdiGetenvInt(char *envName)
fact = 0;
Message("Invalid number string in %s: %s", envName, envString);
Warning("%s must comprise only digits [0-9].",envName);
break;
}
break;
}
......@@ -129,8 +130,8 @@ long cdiGetenvInt(char *envName)
static
void cdiSetChunk(const char *chunkAlgo)
{
char *pch;
size_t len = strlen(chunkAlgo);
//char *pch;
//size_t len = strlen(chunkAlgo);
int algo = -1;
if ( strcmp("auto", chunkAlgo) == 0 ) algo = CHUNK_AUTO;
......
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