Cppcheck warnings: uselessAssignmentPtrArg

This commit is contained in:
Shahram Najm 2021-11-11 12:43:43 +00:00
parent 0f6495e740
commit 6babb08ddb
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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);
}