Commit b04bded1 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Fix shadowing.

parent 945033bf
......@@ -33,7 +33,7 @@ char* gribCopyString(grib_handle* gribHandle, const char* key)
if(!grib_get_length(gribHandle, key, &length))
char* result = (char *) Malloc(length);
result = (char *) Malloc(length);
if(!grib_get_string(gribHandle, key, result, &length))
result = (char *) Realloc(result, length);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment