mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 17:10:50 +00:00
Avoid warning by explicitly initializing var to NULL.
This commit is contained in:
parent
b2b4e186a2
commit
95fa564add
@ -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. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user