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
68897a5b
Commit
68897a5b
authored
Feb 21, 2012
by
antirez
Browse files
bzero -> memset
parent
cf7d3f9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/t_zset.c
View file @
68897a5b
...
@@ -1256,7 +1256,7 @@ int zuiNext(zsetopsrc *op, zsetopval *val) {
...
@@ -1256,7 +1256,7 @@ int zuiNext(zsetopsrc *op, zsetopval *val) {
if
(
val
->
flags
&
OPVAL_DIRTY_ROBJ
)
if
(
val
->
flags
&
OPVAL_DIRTY_ROBJ
)
decrRefCount
(
val
->
ele
);
decrRefCount
(
val
->
ele
);
bzero
(
val
,
sizeof
(
zsetopval
));
memset
(
val
,
0
,
sizeof
(
zsetopval
));
if
(
op
->
type
==
REDIS_SET
)
{
if
(
op
->
type
==
REDIS_SET
)
{
iterset
*
it
=
&
op
->
iter
.
set
;
iterset
*
it
=
&
op
->
iter
.
set
;
...
...
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