No longer useful assert removed from sdsIncrLen().

This commit is contained in:
antirez 2014-08-25 10:36:04 +02:00
parent 660a2f87a1
commit 6f98a9cd2c

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