aboutsummaryrefslogtreecommitdiff
path: root/src/buffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.cpp')
-rw-r--r--src/buffer.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/buffer.cpp b/src/buffer.cpp
index 3564481b84..86435e0f14 100644
--- a/src/buffer.cpp
+++ b/src/buffer.cpp
@@ -61,7 +61,6 @@ void buf_appendf(Buf *buf, const char *format, ...) {
// these functions are not static inline so they can be better used as template parameters
bool buf_eql_buf(Buf *buf, Buf *other) {
- assert(buf->list.length);
return buf_eql_mem(buf, buf_ptr(other), buf_len(other));
}