Commit 45fac948 authored by Mariano Pérez Rodríguez's avatar Mariano Pérez Rodríguez Committed by antirez
Browse files

Missing assert removal from sdsIncrLen()

Companion for 8eeb1802, but dealing with hiredis.
parent c3eac3dd
......@@ -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';
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment