remove redundant assert

This commit is contained in:
Andrew Kelley 2019-09-22 15:58:57 -04:00
parent 12b195f9d5
commit 1d6d6d5228
No known key found for this signature in database
GPG Key ID: 7C5F548F728501A9

View File

@ -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));
}