summaryrefslogtreecommitdiff
path: root/usr.bin/printf
diff options
context:
space:
mode:
authorPedro Martelletto <pedro@cvs.openbsd.org>2004-05-31 15:48:27 +0000
committerPedro Martelletto <pedro@cvs.openbsd.org>2004-05-31 15:48:27 +0000
commit8982b5e0858abbf4a787540503ab68b8b24aa3ef (patch)
tree897b3fa3e60ea746a7f9c926c089defd62ee6d38 /usr.bin/printf
parentfca99464be8305e4c5f51c80d5333a9b886cb9c8 (diff)
zap unused variables, ok beck@
Diffstat (limited to 'usr.bin/printf')
-rw-r--r--usr.bin/printf/printf.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/printf/printf.c b/usr.bin/printf/printf.c
index 2ce53bb8e0e..64c6dadc0dc 100644
--- a/usr.bin/printf/printf.c
+++ b/usr.bin/printf/printf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: printf.c,v 1.11 2003/06/23 16:40:44 millert Exp $ */
+/* $OpenBSD: printf.c,v 1.12 2004/05/31 15:48:26 pedro Exp $ */
/*
* Copyright (c) 1989 The Regents of the University of California.
@@ -39,7 +39,7 @@ char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)printf.c 5.9 (Berkeley) 6/1/90";*/
-static char rcsid[] = "$OpenBSD: printf.c,v 1.11 2003/06/23 16:40:44 millert Exp $";
+static char rcsid[] = "$OpenBSD: printf.c,v 1.12 2004/05/31 15:48:26 pedro Exp $";
#endif /* not lint */
#include <ctype.h>
@@ -114,7 +114,6 @@ main(int argc, char *argv[])
int fieldwidth, precision;
char convch, nextch;
char *format;
- int ch;
#if !defined(SHELL) && !defined(BUILTIN)
setlocale (LC_ALL, "");