Missing assert removal from sdsIncrLen()

Companion for 8eeb1802ec, but dealing with hiredis.
This commit is contained in:
Mariano Pérez Rodríguez
2014-08-26 10:41:03 +02:00
committed by antirez
parent 85b20f1f70
commit d15c6e5e33
-1
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';
}