From 838c6d51d5bae35918fc3d6bf1b185c596bc2ed1 Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Tue, 10 Oct 2017 15:41:35 +0000 Subject: [PATCH] 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 --- usr.bin/su/su.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/su/su.c b/usr.bin/su/su.c index 627a35bde25c..6ad691cf0df8 100644 --- a/usr.bin/su/su.c +++ b/usr.bin/su/su.c @@ -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;