From 7c0bbcd9b223b982676a40cf18bacf034edbc493 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Sun, 30 Jul 2023 08:40:57 +0200 Subject: [PATCH] Remove vs2022 linker warning (ctx potentially uninitialized) --- src/xspice/evt/evtprint.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xspice/evt/evtprint.c b/src/xspice/evt/evtprint.c index e4d560ea2..ac97fcde3 100644 --- a/src/xspice/evt/evtprint.c +++ b/src/xspice/evt/evtprint.c @@ -791,6 +791,7 @@ EVTprintvcd(wordlist *wl) more data following it and if so, what the next step is. */ ctx.time = NULL; + ctx.v_index = 0; ctx.last_i = EPRINT_MAXARGS; // Indicate restart more = MIF_FALSE; next_step = 1e30;