Commit fe7be460 authored by antirez's avatar antirez
Browse files

bzero -> memset

parent ad0df18f
...@@ -1254,7 +1254,7 @@ int zuiNext(zsetopsrc *op, zsetopval *val) { ...@@ -1254,7 +1254,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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment