From ae72677cc2713565acb30a6fd4f65c48326e566b Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Mon, 5 Jul 2021 19:43:25 +0200 Subject: [PATCH] Remove a false read when curr_line has already been invalidated. --- src/frontend/inpcom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index b1e194e4b..672892008 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -7477,7 +7477,7 @@ static void inp_meas_current(struct card *deck) * line */ if (s && s > v) { /* %i( may be part of the node definition in a XSPICE instance, so skip it here */ - if (*curr_line == 'a' && s[-1] == '%') { + if (*v == 'a' && s[-1] == '%') { s++; continue; }