summary refs log tree commit diff
path: root/bin/edi/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/edi/buffer.c')
-rw-r--r--bin/edi/buffer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/bin/edi/buffer.c b/bin/edi/buffer.c
index 927e4e39..a7ff74c9 100644
--- a/bin/edi/buffer.c
+++ b/bin/edi/buffer.c
@@ -34,7 +34,6 @@ struct Buffer bufferAlloc(size_t cap) {
 	struct Block *block = blockAlloc(NULL, cap);
 	return (struct Buffer) {
 		.cap = cap,
-		.len = 0,
 		.slice = { block->chars, 0 },
 		.block = block,
 	};