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/from | |
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/from')
-rw-r--r-- | usr.bin/from/from.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/from/from.c b/usr.bin/from/from.c index 1bda21e13c9..17a09c15029 100644 --- a/usr.bin/from/from.c +++ b/usr.bin/from/from.c @@ -1,4 +1,4 @@ -/* $OpenBSD: from.c,v 1.15 2013/11/26 13:18:55 deraadt Exp $ */ +/* $OpenBSD: from.c,v 1.16 2013/11/27 13:32:02 okan Exp $ */ /* $NetBSD: from.c,v 1.6 1995/09/01 01:39:10 jtc Exp $ */ /* @@ -56,7 +56,7 @@ main(int argc, char *argv[]) file = sender = NULL; while ((ch = getopt(argc, argv, "f:s:")) != -1) - switch((char)ch) { + switch(ch) { case 'f': file = optarg; break; |