mirror of https://github.com/ecmwf/eccodes.git
Cppcheck warnings: uselessAssignmentPtrArg
This commit is contained in:
parent
0f6495e740
commit
6babb08ddb
|
@ -130,7 +130,7 @@ bufr_descriptors_array* grib_bufr_descriptors_array_append(bufr_descriptors_arra
|
|||
}
|
||||
|
||||
grib_bufr_descriptors_array_delete(ar);
|
||||
ar = 0;
|
||||
/* ar = 0; */
|
||||
|
||||
return v;
|
||||
}
|
||||
|
|
|
@ -460,6 +460,6 @@ void grib_file_delete(grib_file* file)
|
|||
free(file->buffer);
|
||||
}
|
||||
grib_context_free(file->context, file);
|
||||
file = NULL;
|
||||
/* file = NULL; */
|
||||
GRIB_MUTEX_UNLOCK(&mutex1);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue