diff options
author | Okan Demirmen <okan@cvs.openbsd.org> | 2013-11-27 13:32:03 +0000 |
---|---|---|
committer | Okan Demirmen <okan@cvs.openbsd.org> | 2013-11-27 13:32:03 +0000 |
commit | 6b969450ad80f281cbe58d1974c250b84b1a429c (patch) | |
tree | 7810874263d02c279e59b68ce5a87850bcd1891c /usr.bin/tty/tty.c | |
parent | f885baa06758e9acb34a25340f4c4de85179e903 (diff) |
remove erroneous char cast to switch expression processing getopt(3);
not used in any cases.
ok deraadt@, guenther@, millert@
Diffstat (limited to 'usr.bin/tty/tty.c')
-rw-r--r-- | usr.bin/tty/tty.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tty/tty.c b/usr.bin/tty/tty.c index a377d94e435..5243afd0403 100644 --- a/usr.bin/tty/tty.c +++ b/usr.bin/tty/tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.6 2009/10/27 23:59:46 deraadt Exp $ */ +/* $OpenBSD: tty.c,v 1.7 2013/11/27 13:32:02 okan Exp $ */ /* $NetBSD: tty.c,v 1.4 1994/12/07 00:46:57 jtc Exp $ */ /* @@ -44,7 +44,7 @@ main(int argc, char *argv[]) sflag = 0; while ((ch = getopt(argc, argv, "s")) != -1) { - switch((char)ch) { + switch(ch) { case 's': sflag = 1; break; |