From 5acdcfb57c612e25c9e8a49497aeff9881e6fe60 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Thu, 3 Dec 2020 13:26:33 +0000 Subject: [PATCH] Keep -vet happy --- core/io/multi.odin | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/io/multi.odin b/core/io/multi.odin index 817d4a1cb..fa26b0052 100644 --- a/core/io/multi.odin +++ b/core/io/multi.odin @@ -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; }