Missing assert removal from sdsIncrLen()

Companion for 8eeb1802ec, but dealing with hiredis.
This commit is contained in:
Mariano Pérez Rodríguez 2014-08-25 15:24:15 -03:00
parent 119a7000b5
commit 8bbc1897c4

1
deps/hiredis/sds.c vendored
View File

@ -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';
}