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
7fdcada6
Unverified
Commit
7fdcada6
authored
Jan 26, 2022
by
Binbin
Committed by
GitHub
Jan 26, 2022
Browse files
Fix unused variable warning in subcommand.c (#10184)
Forgot to handle it in #10135.
parent
f6b76e50
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/modules/subcommands.c
View file @
7fdcada6
...
...
@@ -29,7 +29,9 @@ int RedisModule_OnLoad(RedisModuleCtx *ctx, RedisModuleString **argv, int argc)
REDISMODULE_NOT_USED
(
argv
);
REDISMODULE_NOT_USED
(
argc
);
#ifdef INCLUDE_UNRELEASED_KEYSPEC_API
int
spec_id
;
#endif
if
(
RedisModule_Init
(
ctx
,
"subcommands"
,
1
,
REDISMODULE_APIVER_1
)
==
REDISMODULE_ERR
)
return
REDISMODULE_ERR
;
...
...
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