summaryrefslogtreecommitdiff
path: root/sbin/disklabel
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2009-06-02 21:38:37 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2009-06-02 21:38:37 +0000
commitc49d5366f34eed33138ccc6fe5fa2c2953877573 (patch)
treecb32cfffe6946e4466d3635e4d0c98b71a7508f3 /sbin/disklabel
parentf70288906283f2a7276a9ce61eff992b7cb8b159 (diff)
remove unused variable
ok krw@
Diffstat (limited to 'sbin/disklabel')
-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);