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/xinstall | |
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/xinstall')
-rw-r--r-- | usr.bin/xinstall/xinstall.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/xinstall/xinstall.c b/usr.bin/xinstall/xinstall.c index f13e54c3529..e246a9fb145 100644 --- a/usr.bin/xinstall/xinstall.c +++ b/usr.bin/xinstall/xinstall.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xinstall.c,v 1.55 2013/11/26 21:08:10 deraadt Exp $ */ +/* $OpenBSD: xinstall.c,v 1.56 2013/11/27 13:32:02 okan Exp $ */ /* $NetBSD: xinstall.c,v 1.9 1995/12/20 10:25:17 jonathan Exp $ */ /* @@ -88,7 +88,7 @@ main(int argc, char *argv[]) iflags = 0; while ((ch = getopt(argc, argv, "B:bCcdf:g:m:o:pSs")) != -1) - switch((char)ch) { + switch(ch) { case 'C': docompare = 1; break; |