No longer useful assert removed from sdsIncrLen().

This commit is contained in:
antirez 2014-08-25 10:36:04 +02:00
parent 209f266cc5
commit 8eeb1802ec

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