]> git.ipfire.org Git - thirdparty/make.git/commit
Resolve unused-result warnings for alloca(0)
authorPaul Smith <psmith@gnu.org>
Sun, 29 Nov 2020 19:28:29 +0000 (14:28 -0500)
committerPaul Smith <psmith@gnu.org>
Sun, 29 Nov 2020 22:59:40 +0000 (17:59 -0500)
commitb262ea5d8f7df10627e846cb7de3f30a2351dd1b
tree921ea5203b3adf711e7496ddd2667f16e01c2d27
parentcc20f90507adb74578f509c7ff7b622d6058f7aa
Resolve unused-result warnings for alloca(0)

* src/makeint.h (free_alloca): New macro to defeat warn_unused_result.
* src/read.c (eval_makefile): Call it.
(eval_buffer): Ditto.
* src/remake.c (update_file): Ditto.
src/makeint.h
src/read.c
src/remake.c