From owner-svn-src-head@FreeBSD.ORG Sat Jan 31 13:48:16 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07E761065737; Sat, 31 Jan 2009 13:48:16 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id EA6928FC0C; Sat, 31 Jan 2009 13:48:15 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n0VDmFYM026156; Sat, 31 Jan 2009 13:48:15 GMT (envelope-from bz@svn.freebsd.org) Received: (from bz@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n0VDmF4g026155; Sat, 31 Jan 2009 13:48:15 GMT (envelope-from bz@svn.freebsd.org) Message-Id: <200901311348.n0VDmF4g026155@svn.freebsd.org> From: "Bjoern A. Zeeb" Date: Sat, 31 Jan 2009 13:48:15 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r187956 - head/sbin/reboot X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Jan 2009 13:48:16 -0000 Author: bz Date: Sat Jan 31 13:48:15 2009 New Revision: 187956 URL: http://svn.freebsd.org/changeset/base/187956 Log: Remove and unused variable. Submitted by: Christoph Mallon christoph.mallon@gmx.de MFC after: 2 weeks Modified: head/sbin/reboot/reboot.c Modified: head/sbin/reboot/reboot.c ============================================================================== --- head/sbin/reboot/reboot.c Sat Jan 31 12:48:09 2009 (r187955) +++ head/sbin/reboot/reboot.c Sat Jan 31 13:48:15 2009 (r187956) @@ -65,7 +65,7 @@ int main(int argc, char *argv[]) { const struct passwd *pw; - int ch, howto, i, fd, lflag, nflag, qflag, pflag, sverrno; + int ch, howto, i, fd, lflag, nflag, qflag, sverrno; u_int pageins; const char *p, *user, *kernel = NULL; @@ -91,7 +91,6 @@ main(int argc, char *argv[]) howto |= RB_NOSYNC; break; case 'p': - pflag = 1; howto |= RB_POWEROFF; break; case 'q':