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
c2d7e6ce
Commit
c2d7e6ce
authored
May 25, 2018
by
zhaozhao.zz
Browse files
avoid warning in t_stream.c
parent
fb6ebaa5
Changes
1
Show whitespace changes
Inline
Side-by-side
src/t_stream.c
View file @
c2d7e6ce
...
...
@@ -1593,7 +1593,7 @@ NULL
* acknowledged, that is, the IDs we were actually able to resolve in the PEL.
*/
void xackCommand(client *c) {
streamCG *group;
streamCG *group
= NULL
;
robj *o = lookupKeyRead(c->db,c->argv[1]);
if (o) {
if (checkType(c,o,OBJ_STREAM)) return; /* Type error. */
...
...
@@ -1832,7 +1832,7 @@ void xpendingCommand(client *c) {
* successfully claimed, so that the caller is able to understand
* what messages it is now in charge of. */
void xclaimCommand(client *c) {
streamCG *group;
streamCG *group
= NULL
;
robj *o = lookupKeyRead(c->db,c->argv[1]);
long long minidle; /* Minimum idle time argument. */
long long retrycount = -1; /* -1 means RETRYCOUNT option not given. */
...
...
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