]> git.ipfire.org Git - thirdparty/make.git/commit
[SV 60798] Silence bogus GCC10 and GCC11 warnings
authorJouke Witteveen <j.witteveen@gmail.com>
Sun, 19 Dec 2021 21:09:07 +0000 (16:09 -0500)
committerPaul Smith <psmith@gnu.org>
Sun, 19 Dec 2021 21:55:50 +0000 (16:55 -0500)
commitf440c3ebe2601b48893cd510335818a8bcfdf342
tree60bcb89c2d6cc007976ce7ffeb56b4dd66da7aa2
parent3efba8a1452c92ac474f3c08ac40ed45af4c67f9
[SV 60798] Silence bogus GCC10 and GCC11 warnings

* src/main.c (main): Use a separate variable to track final character.
* src/read.c (eval): Track the semicolon position not one beyond it.
* src/variable.c (do_variable_definition): Include a default switch
case to ease the work of the exhaustiveness prover.
src/main.c
src/read.c
src/variable.c