Missing assert removal from sdsIncrLen()
Companion for 5e780be2ad0a86c98c5b9b4450f5e897923647db, but dealing with hiredis.
This commit is contained in:
parent
3ef46fb17b
commit
8794500289
1
deps/hiredis/sds.c
vendored
1
deps/hiredis/sds.c
vendored
@ -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';
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user