bzero -> memset

This commit is contained in:
antirez 2012-02-21 10:06:04 +01:00
parent ad0df18fdc
commit fe7be46025

View File

@ -1254,7 +1254,7 @@ int zuiNext(zsetopsrc *op, zsetopval *val) {
if (val->flags & OPVAL_DIRTY_ROBJ)
decrRefCount(val->ele);
bzero(val,sizeof(zsetopval));
memset(val,0,sizeof(zsetopval));
if (op->type == REDIS_SET) {
iterset *it = &op->iter.set;