diff --git a/common/buffer.h b/common/buffer.h index b1ee1936f..403d655f3 100644 --- a/common/buffer.h +++ b/common/buffer.h @@ -143,7 +143,6 @@ buffer_splice(buffer_t *buf, int pos, int len, const void *data, int dlen) buf->s += len - dlen; buf->size -= len - dlen; buf->len -= len - dlen; - len = dlen; } else if (len != dlen) {