From 15543aadb309a05769091a5aeb17054bb25f2ecf Mon Sep 17 00:00:00 2001 From: Tom Rhodes Date: Fri, 9 Mar 2007 09:40:23 +0000 Subject: [PATCH] Initialize *pfh to NULL to quiet a gcc warning, not part of my original commit because it was not part of the new code. --- usr.sbin/daemon/daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/daemon/daemon.c b/usr.sbin/daemon/daemon.c index 1534011233a2..43c6f8ca4f85 100644 --- a/usr.sbin/daemon/daemon.c +++ b/usr.sbin/daemon/daemon.c @@ -48,7 +48,7 @@ static void usage(void); int main(int argc, char *argv[]) { - struct pidfh *pfh; + struct pidfh *pfh = NULL; int ch, nochdir, noclose, errcode; const char *pidfile, *user, *group; pid_t otherpid;