test.c: Fix shadowed name with typedef when compiling with -Wshadow

This commit is contained in:
Jerry Jacobs 2016-04-17 20:33:59 +00:00
parent 1b8ed38843
commit 8a5fdf0c9e
1 changed files with 3 additions and 3 deletions

6
test.c
View File

@ -328,12 +328,12 @@ static void test_reply_reader(void) {
}
static void test_free_null(void) {
void *redisContext = NULL;
void *redisCtx = NULL;
void *reply = NULL;
test("Don't fail when redisFree is passed a NULL value: ");
redisFree(redisContext);
test_cond(redisContext == NULL);
redisFree(redisCtx);
test_cond(redisCtx == NULL);
test("Don't fail when freeReplyObject is passed a NULL value: ");
freeReplyObject(reply);