From: antirez Date: Tue, 21 Feb 2012 09:06:04 +0000 (+0100) Subject: bzero -> memset X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/fe7be460257627848987d7bf6d80ce8540b01628 bzero -> memset --- diff --git a/src/t_zset.c b/src/t_zset.c index d2535c72..b8ad2fc6 100644 --- a/src/t_zset.c +++ b/src/t_zset.c @@ -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;