mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 23:52:31 +00:00
remove redundant assert
This commit is contained in:
parent
12b195f9d5
commit
1d6d6d5228
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user