Commit 95fa564a authored by antirez's avatar antirez
Browse files

Avoid warning by explicitly initializing var to NULL.

parent b2b4e186
...@@ -1272,7 +1272,7 @@ void xreadCommand(client *c) { ...@@ -1272,7 +1272,7 @@ void xreadCommand(client *c) {
int id_idx = i - streams_arg - streams_count; int id_idx = i - streams_arg - streams_count;
robj *key = c->argv[i-streams_count]; robj *key = c->argv[i-streams_count];
robj *o; robj *o;
streamCG *group; streamCG *group = NULL;
/* If a group was specified, than we need to be sure that the /* If a group was specified, than we need to be sure that the
* key and group actually exist. */ * key and group actually exist. */
......
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