]> git.ipfire.org Git - thirdparty/make.git/commit
[SV 46581] Pre-define .LOADED to avoid warnings.
authorPaul Smith <psmith@gnu.org>
Sun, 13 Mar 2016 07:02:00 +0000 (03:02 -0400)
committerPaul Smith <psmith@gnu.org>
Sun, 13 Mar 2016 07:02:00 +0000 (03:02 -0400)
commite33f3d72bf2b7bd142ac60646ddbfb471890d486
tree99e30d1f61eeb9a8712313b94d30705fb299d506
parentfd1dd7c398974b05950735a724838c09eb72ad1e
[SV 46581] Pre-define .LOADED to avoid warnings.

* main.c (main): Pre-define .LOADED as a default-level variable.
* load.c (load_file): Set the value rather than append it.  Avoid
adding an extra initial whitespace.
* tests/scripts/features/load: Run with --warn-undefined-variables.
load.c
main.c
tests/scripts/features/load