summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMariano Pérez Rodríguez <mariano-perez-rodriguez@users.noreply.github.com>2014-08-25 15:24:15 -0300
committerantirez <antirez@gmail.com>2014-08-27 10:31:35 +0200
commit45fac9481a28d2d60ed8be4ba0f11262c196ca62 (patch)
tree979e7dcfd0498d8c991cdd59d4cf400149d4b711
parentc3eac3ddff583a35d7d9d8d4ba226e4bc5f84171 (diff)
downloadredis-45fac9481a28d2d60ed8be4ba0f11262c196ca62.tar.gz
Missing assert removal from sdsIncrLen()
Companion for 8eeb1802ec42682a614a5ebca318a0ba44ca7c03, but dealing with hiredis.
-rw-r--r--deps/hiredis/sds.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/deps/hiredis/sds.c b/deps/hiredis/sds.c
index 4af9961ad..32d103d30 100644
--- a/deps/hiredis/sds.c
+++ b/deps/hiredis/sds.c
@@ -206,7 +206,6 @@ void sdsIncrLen(sds s, int incr) {
assert(sh->len >= (unsigned int)(-incr));
sh->len += incr;
sh->free -= incr;
- assert(sh->free >= 0);
s[sh->len] = '\0';
}