mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
Missing assert removal from sdsIncrLen()
Companion for 8eeb1802ec
, but dealing with hiredis.
This commit is contained in:
parent
119a7000b5
commit
8bbc1897c4
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…
Reference in New Issue
Block a user