diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-09-22 15:58:57 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-09-22 15:58:57 -0400 |
| commit | 1d6d6d522877243772550edfb0df12c21ed63376 (patch) | |
| tree | e07e0f7dd022d5afe9c4e14fe0323c85c60bc9f7 /src/buffer.cpp | |
| parent | 12b195f9d507bfc0aa4d0199972ae32d096ef1ad (diff) | |
| download | zig-1d6d6d522877243772550edfb0df12c21ed63376.tar.gz zig-1d6d6d522877243772550edfb0df12c21ed63376.zip | |
remove redundant assert
Diffstat (limited to 'src/buffer.cpp')
| -rw-r--r-- | src/buffer.cpp | 1 |
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)); } |
