Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
8a5fdf0c
Commit
8a5fdf0c
authored
Apr 17, 2016
by
Jerry Jacobs
Browse files
test.c: Fix shadowed name with typedef when compiling with -Wshadow
parent
1b8ed388
Changes
1
Hide whitespace changes
Inline
Side-by-side
test.c
View file @
8a5fdf0c
...
...
@@ -328,12 +328,12 @@ static void test_reply_reader(void) {
}
static
void
test_free_null
(
void
)
{
void
*
redisC
ontex
t
=
NULL
;
void
*
redisCt
x
=
NULL
;
void
*
reply
=
NULL
;
test
(
"Don't fail when redisFree is passed a NULL value: "
);
redisFree
(
redisC
ontex
t
);
test_cond
(
redisC
ontex
t
==
NULL
);
redisFree
(
redisCt
x
);
test_cond
(
redisCt
x
==
NULL
);
test
(
"Don't fail when freeReplyObject is passed a NULL value: "
);
freeReplyObject
(
reply
);
...
...
Write
Preview
Markdown
is supported
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