summaryrefslogtreecommitdiffstats
path: root/sbin/disklabel/editor.c
diff options
context:
space:
mode:
authorchl <chl@openbsd.org>2009-06-02 21:38:36 +0000
committerchl <chl@openbsd.org>2009-06-02 21:38:36 +0000
commitdc80eb20cd081644e84f997c59ff0b51992300e1 (patch)
tree84069ee54b6ebae72feafae6bcf11cb64ffc9eee /sbin/disklabel/editor.c
parentReintroduce the macppc interrupt subsystem rewrite. Several bugs have (diff)
downloadwireguard-openbsd-dc80eb20cd081644e84f997c59ff0b51992300e1.tar.xz
wireguard-openbsd-dc80eb20cd081644e84f997c59ff0b51992300e1.zip
remove unused variable
ok krw@
Diffstat (limited to 'sbin/disklabel/editor.c')
-rw-r--r--sbin/disklabel/editor.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sbin/disklabel/editor.c b/sbin/disklabel/editor.c
index 8e1c3f6bdb8..0464f9c3029 100644
--- a/sbin/disklabel/editor.c
+++ b/sbin/disklabel/editor.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: editor.c,v 1.215 2009/06/02 16:23:45 krw Exp $ */
+/* $OpenBSD: editor.c,v 1.216 2009/06/02 21:38:36 chl Exp $ */
/*
* Copyright (c) 1997-2000 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -17,7 +17,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: editor.c,v 1.215 2009/06/02 16:23:45 krw Exp $";
+static char rcsid[] = "$OpenBSD: editor.c,v 1.216 2009/06/02 21:38:36 chl Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -2290,7 +2290,6 @@ psize(daddr64_t sz, char unit, struct disklabel *lp)
void
display_edit(struct disklabel *lp, char unit, u_int64_t fr)
{
- struct partition *pp;
int i;
unit = canonical_unit(lp, unit);