From 20703d466ee2e12d26d2ad0c75e28b8465b693ed Mon Sep 17 00:00:00 2001 From: Alexander Bluhm Date: Sat, 6 Dec 2014 00:20:23 +0000 Subject: Do not define the variable pid twice to avoid a compiler warning. OK millert@ --- sbin/init/init.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sbin/init') diff --git a/sbin/init/init.c b/sbin/init/init.c index 916a029eced..62b9f6ce18a 100644 --- a/sbin/init/init.c +++ b/sbin/init/init.c @@ -1,4 +1,4 @@ -/* $OpenBSD: init.c,v 1.50 2014/04/22 20:40:37 tedu Exp $ */ +/* $OpenBSD: init.c,v 1.51 2014/12/06 00:20:22 bluhm Exp $ */ /* $NetBSD: init.c,v 1.22 1996/05/15 23:29:33 jtc Exp $ */ /*- @@ -1340,7 +1340,6 @@ nice_death(void) logwtmp("~", "shutdown", ""); if (access(_PATH_RUNCOM, R_OK) != -1) { - pid_t pid; struct sigaction sa; switch ((pid = fork())) { -- cgit v1.2.3