| ... | @@ -61,7 +61,6 @@ void buf_appendf(Buf *buf, const char *format, ...) { | ... | @@ -61,7 +61,6 @@ void buf_appendf(Buf *buf, const char *format, ...) { |
| 61 | | 61 | |
| 62 | // these functions are not static inline so they can be better used as template parameters | 62 | // these functions are not static inline so they can be better used as template parameters |
| 63 | bool buf_eql_buf(Buf *buf, Buf *other) { | 63 | bool buf_eql_buf(Buf *buf, Buf *other) { |
| 64 | assert(buf->list.length); | | |
| 65 | return buf_eql_mem(buf, buf_ptr(other), buf_len(other)); | 64 | return buf_eql_mem(buf, buf_ptr(other), buf_len(other)); |
| 66 | } | 65 | } |
| 67 | | 66 | |