Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
b04bded1
Commit
b04bded1
authored
Dec 09, 2016
by
Thomas Jahns
🤸
Browse files
Fix shadowing.
parent
945033bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/gribapi_utilities.c
View file @
b04bded1
...
...
@@ -33,7 +33,7 @@ char* gribCopyString(grib_handle* gribHandle, const char* key)
#ifdef HAVE_GRIB_GET_LENGTH
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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment