summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-08-11 11:10:43 +0000
committerru <ru@FreeBSD.org>2002-08-11 11:10:43 +0000
commit9f330c956febc5822317d5d625b86e4c575dd263 (patch)
tree5b3b4e08e62bcf9ca73e50c366c08d1a849c1017
parenta9d85f1bccfb9a4e4a442a86c6a1391fd192f8aa (diff)
downloadFreeBSD-src-9f330c956febc5822317d5d625b86e4c575dd263.zip
FreeBSD-src-9f330c956febc5822317d5d625b86e4c575dd263.tar.gz
main.c:450: warning: `targs' might be used uninitialized in this function
Spotted by: patrick@godloveya.com, naddy, -Wuninitialized This segfaulted alpha and sparc64; i386 had this magically zeroed.
-rw-r--r--usr.bin/make/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/make/main.c b/usr.bin/make/main.c
index bcdbbf5..0028e15 100644
--- a/usr.bin/make/main.c
+++ b/usr.bin/make/main.c
@@ -865,9 +865,9 @@ main(argc, argv)
*/
Compat_Run(targs);
}
+ Lst_Destroy(targs, NOFREE);
}
- Lst_Destroy(targs, NOFREE);
Lst_Destroy(variables, NOFREE);
Lst_Destroy(makefiles, NOFREE);
Lst_Destroy(create, (void (*)(void *)) free);
OpenPOWER on IntegriCloud