Keep -vet happy

This commit is contained in:
gingerBill
2020-12-03 13:26:33 +00:00
parent 6e04b1c429
commit 5acdcfb57c

View File

@@ -90,7 +90,7 @@ _multi_writer_vtable := &Stream_VTable{
},
};
mutlti_writer :: proc(writers: ..Writer, allocator := context.allocator) -> (w: Writer) {
mutlti_writer :: proc(writers: ..Writer, allocator := context.allocator) -> (out: Writer) {
context.allocator = allocator;
mw := new(Multi_Writer);
mw.allocator = allocator;
@@ -107,7 +107,7 @@ mutlti_writer :: proc(writers: ..Writer, allocator := context.allocator) -> (w:
mw.writers = all_writers[:];
w.stream_vtable = _multi_writer_vtable;
w.stream_data = mw;
out.stream_vtable = _multi_writer_vtable;
out.stream_data = mw;
return;
}