mirror of https://github.com/ecmwf/eccodes.git
Cleanup
This commit is contained in:
parent
0f3d2bf9d2
commit
7bd5d6228b
|
@ -1439,7 +1439,7 @@ int any_f_scan_file_(int* fid, int* n) {
|
|||
grib_context* c=grib_context_get_default();
|
||||
|
||||
/* this needs a callback to a destructor*/
|
||||
/* grib_oarray_delete_content(c,binary_messages); */
|
||||
/* grib_oarray_delete_content(c, info_messages); */
|
||||
|
||||
grib_oarray_delete(c, info_messages);
|
||||
info_messages=grib_oarray_new(c, 1000, 1000);
|
||||
|
@ -1547,7 +1547,8 @@ int any_f_new_from_loaded_(int* msgid,int* gid)
|
|||
if (h) {
|
||||
push_handle(h, gid);
|
||||
return GRIB_SUCCESS;
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
*gid = -1;
|
||||
return GRIB_END_OF_FILE;
|
||||
}
|
||||
|
@ -1580,7 +1581,8 @@ int any_f_new_from_file_(int* fid, int* gid){
|
|||
if (h) {
|
||||
push_handle(h, gid);
|
||||
return GRIB_SUCCESS;
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
*gid = -1;
|
||||
return GRIB_END_OF_FILE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue