mirror of https://github.com/ecmwf/eccodes.git
Compiler warnings
This commit is contained in:
parent
6d0b83ae17
commit
f46e742820
|
@ -64,7 +64,6 @@ static long get(grib_handle *h,const char* what)
|
||||||
{
|
{
|
||||||
fprintf(stderr,"%s, field %d [%s]: cannot get %s: %s\n",file,field,param,what,grib_get_error_message(e));
|
fprintf(stderr,"%s, field %d [%s]: cannot get %s: %s\n",file,field,param,what,grib_get_error_message(e));
|
||||||
exit(1);
|
exit(1);
|
||||||
val = -1;
|
|
||||||
}
|
}
|
||||||
return val;
|
return val;
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,7 +29,7 @@ typedef struct grib_action_list
|
||||||
grib_action* block_list;
|
grib_action* block_list;
|
||||||
} grib_action_list;
|
} grib_action_list;
|
||||||
|
|
||||||
void print_names(grib_action* a)
|
static void print_names(grib_action* a)
|
||||||
{
|
{
|
||||||
while (a) {
|
while (a) {
|
||||||
if (a->op && !strcmp(a->op, "label")) {
|
if (a->op && !strcmp(a->op, "label")) {
|
||||||
|
|
Loading…
Reference in New Issue