Merge pull request #1964 from mariano-perez-rodriguez/patch-2

Missing assert removal from sdsIncrLen()
This commit is contained in:
Salvatore Sanfilippo 2014-08-26 10:03:54 +02:00
commit 532a9845bf

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