diff options
author | Charles Longeau <chl@cvs.openbsd.org> | 2007-11-10 13:45:18 +0000 |
---|---|---|
committer | Charles Longeau <chl@cvs.openbsd.org> | 2007-11-10 13:45:18 +0000 |
commit | d30bfa2506d8135374cfc6d16bd7e9058ce05b4e (patch) | |
tree | 8a9e48c60cd3b90f76bb054fe8c1352feb7658d7 /bin | |
parent | 13d6fa882e220280d10d17cd102a9e6319ed3837 (diff) |
remove "unused variable" warning appearing when building release
ok millert@
Diffstat (limited to 'bin')
-rw-r--r-- | bin/dd/dd.c | 6 |
1 files changed, 4 insertions, 2 deletions
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"; |