Cppcheck warnings

This commit is contained in:
Shahram Najm 2021-12-03 21:05:03 +00:00
parent e7338f99e4
commit 64ab857895
2 changed files with 2 additions and 3 deletions

View File

@ -627,7 +627,6 @@ static grib_order_by* grib_db_new_order_by(grib_context* c, char* obstr)
ob->mode = 0;
ob->next = 0;
if (z)
t1 = strtok(z, ",");
while (t1) {

View File

@ -484,7 +484,7 @@ static int init(grib_iterator* iter, grib_handle* h, grib_arguments* args)
iter->e = -1;
return err;
return GRIB_SUCCESS;
}
static int destroy(grib_iterator* i)