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
cf7a1386
"vscode:/vscode.git/clone" did not exist on "5d5fe340e004e723f5dde86ebde56f6d29675a85"
Commit
cf7a1386
authored
Apr 06, 2011
by
Pieter Noordhuis
Browse files
Explicitly zero zval since it is stored on the stack
parent
edfd6ae7
Changes
1
Show whitespace changes
Inline
Side-by-side
src/t_zset.c
View file @
cf7a1386
...
@@ -1515,6 +1515,7 @@ void zunionInterGenericCommand(redisClient *c, robj *dstkey, int op) {
...
@@ -1515,6 +1515,7 @@ void zunionInterGenericCommand(redisClient *c, robj *dstkey, int op) {
dstobj
=
createZsetObject
();
dstobj
=
createZsetObject
();
dstzset
=
dstobj
->
ptr
;
dstzset
=
dstobj
->
ptr
;
memset
(
&
zval
,
0
,
sizeof
(
zval
));
if
(
op
==
REDIS_OP_INTER
)
{
if
(
op
==
REDIS_OP_INTER
)
{
/* Skip everything if the smallest input is empty. */
/* Skip everything if the smallest input is empty. */
...
...
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