Missing assert removal from sdsIncrLen()

Companion for 8eeb1802ec42682a614a5ebca318a0ba44ca7c03, but dealing with hiredis.
This commit is contained in:
Mariano Pérez Rodríguez 2014-08-25 15:24:15 -03:00 committed by antirez
parent 85b20f1f70
commit d15c6e5e33

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