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
redis
Commits
95fa564a
"vscode:/vscode.git/clone" did not exist on "5010da6ab068cab4ee19591ebaf7112b9ec5f375"
Commit
95fa564a
authored
May 25, 2018
by
antirez
Browse files
Avoid warning by explicitly initializing var to NULL.
parent
b2b4e186
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/t_stream.c
View file @
95fa564a
...
...
@@ -1272,7 +1272,7 @@ void xreadCommand(client *c) {
int
id_idx
=
i
-
streams_arg
-
streams_count
;
robj
*
key
=
c
->
argv
[
i
-
streams_count
];
robj
*
o
;
streamCG
*
group
;
streamCG
*
group
=
NULL
;
/* If a group was specified, than we need to be sure that the
* key and group actually exist. */
...
...
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