summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhalex <halex@openbsd.org>2012-07-13 14:45:24 +0000
committerhalex <halex@openbsd.org>2012-07-13 14:45:24 +0000
commit023045f1890a99beffaa02efaf77970a0b2b899f (patch)
tree166ee09b713518b199d2259e34f9fb63b48b3c7d
parentMake amd64 look like i386 for hibernate resume (diff)
downloadwireguard-openbsd-023045f1890a99beffaa02efaf77970a0b2b899f.tar.xz
wireguard-openbsd-023045f1890a99beffaa02efaf77970a0b2b899f.zip
kill unused variable
ok dlg@ nicm@ while at it, kill one more and add #include <ctype.h> per nicm's request
-rw-r--r--usr.bin/cu/cu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/cu/cu.c b/usr.bin/cu/cu.c
index 0ed18005404..d6b0e6cffe4 100644
--- a/usr.bin/cu/cu.c
+++ b/usr.bin/cu/cu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cu.c,v 1.10 2012/07/13 05:29:01 dlg Exp $ */
+/* $OpenBSD: cu.c,v 1.11 2012/07/13 14:45:24 halex Exp $ */
/*
* Copyright (c) 2012 Nicholas Marriott <nicm@openbsd.org>
@@ -19,6 +19,7 @@
#include <sys/param.h>
#include <sys/ioctl.h>
+#include <ctype.h>
#include <err.h>
#include <event.h>
#include <fcntl.h>
@@ -70,8 +71,7 @@ main(int argc, char **argv)
{
const char *line, *errstr;
char *tmp;
- int opt, speed, i, ch;
- static char sbuf[12];
+ int opt, speed, i;
line = "/dev/cua00";
speed = 9600;