svn commit: r324497 - head/usr.bin/su
Ngie Cooper
ngie at FreeBSD.org
Tue Oct 10 15:41:37 UTC 2017
Author: ngie
Date: Tue Oct 10 15:41:35 2017
New Revision: 324497
URL: https://svnweb.freebsd.org/changeset/base/324497
Log:
Mute gcc warning about p not being possibly initialized
I'm running into this warning on a tinderbox run with gcc 4.2.1 with mips and
powerpc.
MFC after: 1 week
Modified:
head/usr.bin/su/su.c
Modified: head/usr.bin/su/su.c
==============================================================================
--- head/usr.bin/su/su.c Tue Oct 10 13:06:11 2017 (r324496)
+++ head/usr.bin/su/su.c Tue Oct 10 15:41:35 2017 (r324497)
@@ -172,7 +172,7 @@ main(int argc, char *argv[])
au_id_t auid;
#endif
- shell = class = cleanenv = NULL;
+ p = shell = class = cleanenv = NULL;
asme = asthem = fastlogin = statusp = 0;
user = "root";
iscsh = UNSET;
More information about the svn-src-all
mailing list