From bfe358e062dc9a41383102d83e939956a787fcb0 Mon Sep 17 00:00:00 2001 From: Pierre Curto Date: Fri, 22 Sep 2023 19:43:14 +0200 Subject: [PATCH] std::io: use @noinit in Stream.*varint Signed-off-by: Pierre Curto --- lib/std/io/stream.c3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/io/stream.c3 b/lib/std/io/stream.c3 index 34d293cf6..27da70f92 100644 --- a/lib/std/io/stream.c3 +++ b/lib/std/io/stream.c3 @@ -430,7 +430,7 @@ macro usz! Stream.write_varint(&self, x) { var $Type = $typeof(x); const MAX = MAX_VARS[$Type.sizeof]; - char[MAX] buffer; + char[MAX] buffer @noinit; usz i; while (x >= 0x80) {