From d30bfa2506d8135374cfc6d16bd7e9058ce05b4e Mon Sep 17 00:00:00 2001 From: Charles Longeau Date: Sat, 10 Nov 2007 13:45:18 +0000 Subject: remove "unused variable" warning appearing when building release ok millert@ --- bin/dd/dd.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bin/dd') diff --git a/bin/dd/dd.c b/bin/dd/dd.c index 08bf99a65fc..7a8a371830e 100644 --- a/bin/dd/dd.c +++ b/bin/dd/dd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dd.c,v 1.14 2003/06/11 23:42:12 deraadt Exp $ */ +/* $OpenBSD: dd.c,v 1.15 2007/11/10 13:45:17 chl Exp $ */ /* $NetBSD: dd.c,v 1.6 1996/02/20 19:29:06 jtc Exp $ */ /*- @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)dd.c 8.5 (Berkeley) 4/2/94"; #else -static char rcsid[] = "$OpenBSD: dd.c,v 1.14 2003/06/11 23:42:12 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: dd.c,v 1.15 2007/11/10 13:45:17 chl Exp $"; #endif #endif /* not lint */ @@ -103,7 +103,9 @@ main(int argc, char *argv[]) static void setup(void) { +#ifndef NO_CONV u_int cnt; +#endif if (in.name == NULL) { in.name = "stdin"; -- cgit v1.2.3