1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00

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.
This commit is contained in:
Ruslan Ermilov 2002-08-11 11:10:43 +00:00
parent 98c385e7d6
commit ef3a89cfe8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=101672

View File

@ -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);