summaryrefslogtreecommitdiff
path: root/deps/hiredis
diff options
context:
space:
mode:
authorMariano Pérez Rodríguez <mariano-perez-rodriguez@users.noreply.github.com>2014-08-25 15:24:15 -0300
committerMariano Pérez Rodríguez <mariano-perez-rodriguez@users.noreply.github.com>2014-08-25 15:24:15 -0300
commit8bbc1897c4d680cae0d4708981a53e27e3c0ef15 (patch)
tree621e4f2f49481528c8cad5c8e5f0f732b14135bc /deps/hiredis
parent119a7000b5b8e75016dbb554e703bae6e52cb56d (diff)
downloadredis-8bbc1897c4d680cae0d4708981a53e27e3c0ef15.tar.gz
Missing assert removal from sdsIncrLen()
Companion for 8eeb1802ec42682a614a5ebca318a0ba44ca7c03, but dealing with hiredis.
Diffstat (limited to 'deps/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';
}