diff --git a/tigge/tigge_split.c b/tigge/tigge_split.c index c903969d4..d4fb37464 100755 --- a/tigge/tigge_split.c +++ b/tigge/tigge_split.c @@ -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)); exit(1); - val = -1; } return val; } diff --git a/tools/list_keys.c b/tools/list_keys.c index 773ef3c5f..b2653dec7 100644 --- a/tools/list_keys.c +++ b/tools/list_keys.c @@ -29,7 +29,7 @@ typedef struct grib_action_list grib_action* block_list; } grib_action_list; -void print_names(grib_action* a) +static void print_names(grib_action* a) { while (a) { if (a->op && !strcmp(a->op, "label")) {