aboutsummaryrefslogtreecommitdiff
path: root/src/buffer.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-09-22 15:58:57 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-09-22 15:58:57 -0400
commit1d6d6d522877243772550edfb0df12c21ed63376 (patch)
treee07e0f7dd022d5afe9c4e14fe0323c85c60bc9f7 /src/buffer.cpp
parent12b195f9d507bfc0aa4d0199972ae32d096ef1ad (diff)
downloadzig-1d6d6d522877243772550edfb0df12c21ed63376.tar.gz
zig-1d6d6d522877243772550edfb0df12c21ed63376.zip
remove redundant assert
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));
}