X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/b36d1c309136051587db90391876125fc95ea348..9ae6b0be4ac05c919b943ed29ffa20e5560855a2:/zipmap.c diff --git a/zipmap.c b/zipmap.c index 6fd6ca86..35faeabe 100644 --- a/zipmap.c +++ b/zipmap.c @@ -176,7 +176,6 @@ static unsigned long zipmapRequiredLength(unsigned int klen, unsigned int vlen) /* Return the total amount used by a key (encoded length + payload) */ static unsigned int zipmapRawKeyLength(unsigned char *p) { unsigned int l = zipmapDecodeLength(p); - return zipmapEncodeLength(NULL,l) + l; }