mirror of https://github.com/ecmwf/eccodes.git
Cppcheck warnings
This commit is contained in:
parent
e7338f99e4
commit
64ab857895
|
@ -627,8 +627,7 @@ 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, ",");
|
||||
t1 = strtok(z, ",");
|
||||
|
||||
while (t1) {
|
||||
grib_trim(&t1);
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue