bzero -> memset

This commit is contained in:
antirez 2012-02-21 10:06:04 +01:00
parent cf7d3f9d3d
commit 68897a5bbe

View File

@ -1256,7 +1256,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;