diff options
author | antirez <antirez@gmail.com> | 2014-08-25 10:36:04 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2014-08-25 10:36:26 +0200 |
commit | 8eeb1802ec42682a614a5ebca318a0ba44ca7c03 (patch) | |
tree | 3f33fc645c9a99fedbf7ffd1b8cdfedc0658e546 /src | |
parent | 209f266cc534471daa03501b2802f08e4fca4fe6 (diff) | |
download | redis-8eeb1802ec42682a614a5ebca318a0ba44ca7c03.tar.gz |
No longer useful assert removed from sdsIncrLen().
Diffstat (limited to 'src')
-rw-r--r-- | src/sds.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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'; } |