authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-09-22 15:58:57-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-09-22 15:58:57-04:00
log1d6d6d522877243772550edfb0df12c21ed63376
treee07e0f7dd022d5afe9c4e14fe0323c85c60bc9f7
parent12b195f9d507bfc0aa4d0199972ae32d096ef1ad
signature Commit is signed but in an unrecognized format.

remove redundant assert


1 files changed, 0 insertions(+), 1 deletions(-)

src/buffer.cpp-1
......@@ -61,7 +61,6 @@ void buf_appendf(Buf *buf, const char *format, ...) {
6161
6262// these functions are not static inline so they can be better used as template parameters
6363bool buf_eql_buf(Buf *buf, Buf *other) {
64 assert(buf->list.length);
6564 return buf_eql_mem(buf, buf_ptr(other), buf_len(other));
6665}
6766