From eef72cf3f5a733aae80590b782ea0973a465eec7 Mon Sep 17 00:00:00 2001 From: Alexander Hall Date: Fri, 13 Jul 2012 14:45:25 +0000 Subject: kill unused variable ok dlg@ nicm@ while at it, kill one more and add #include per nicm's request --- usr.bin/cu/cu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.bin') 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 @@ -19,6 +19,7 @@ #include #include +#include #include #include #include @@ -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; -- cgit v1.2.3