commit 7f6565e51fd8a830fdb5fb7a629d00d0e8e11b61
parent 98998b3ed59de16cd77a5b234eac69a8248e6096
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Tue, 5 Nov 2024 21:38:35 +0100
make: Add initilization
While it is impossible to use s without having a value,
this commit adds an explicit initialization to protect
a bit the code for future modifications and being able
to catch errors easily.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/cmd/scc-make/parser.c b/src/cmd/scc-make/parser.c
@@ -613,6 +613,7 @@ expansion(Target *tp)
return;
}
+ s = NULL;
namei = repli = toi = 0;
st = STBEGIN;