From ef3a89cfe8f3e1f85faaafe2c81bdd1e47e4ce5f Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Sun, 11 Aug 2002 11:10:43 +0000 Subject: [PATCH] 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. --- usr.bin/make/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/make/main.c b/usr.bin/make/main.c index bcdbbf5e58bb..0028e157607f 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);