Commit 8a5fdf0c authored by Jerry Jacobs's avatar Jerry Jacobs
Browse files

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

parent 1b8ed388
...@@ -328,12 +328,12 @@ static void test_reply_reader(void) { ...@@ -328,12 +328,12 @@ static void test_reply_reader(void) {
} }
static void test_free_null(void) { static void test_free_null(void) {
void *redisContext = NULL; void *redisCtx = NULL;
void *reply = NULL; void *reply = NULL;
test("Don't fail when redisFree is passed a NULL value: "); test("Don't fail when redisFree is passed a NULL value: ");
redisFree(redisContext); redisFree(redisCtx);
test_cond(redisContext == NULL); test_cond(redisCtx == NULL);
test("Don't fail when freeReplyObject is passed a NULL value: "); test("Don't fail when freeReplyObject is passed a NULL value: ");
freeReplyObject(reply); freeReplyObject(reply);
......
Markdown is supported
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