summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2012-08-14 08:48:43 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2012-08-14 08:48:43 +0000
commit569ddcd979123dde45748d4191875139ea0b26a4 (patch)
tree72aea2eb644047780e8f9944dae82ca4ceb520e7 /sbin
parent6b15025c51247b9d5350d90155236e0f11f02614 (diff)
remove unused variable
ok krw@
Diffstat (limited to 'sbin')
-rw-r--r--sbin/fdisk/misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/fdisk/misc.c b/sbin/fdisk/misc.c
index df1f02ef2e2..eac30af4262 100644
--- a/sbin/fdisk/misc.c
+++ b/sbin/fdisk/misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: misc.c,v 1.29 2012/07/11 10:27:34 krw Exp $ */
+/* $OpenBSD: misc.c,v 1.30 2012/08/14 08:48:42 chl Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
@@ -91,7 +91,7 @@ ask_cmd(cmd_t *cmd)
int
ask_num(const char *str, int dflt, int low, int high)
{
- char lbuf[100], *cp;
+ char lbuf[100];
const char *errstr;
size_t lbuflen;
int num;