From 8f4be4c9fc053e06d8170659c9bde356ada1a655 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Wed, 6 Aug 2003 21:08:09 +0000 Subject: Remove some double semicolons (hmm, do two semis equal a maxi?). I've skipped the GNU stuff for now. From Patrick Latifi. --- bin/ksh/lex.c | 4 ++-- bin/ksh/misc.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'bin/ksh') diff --git a/bin/ksh/lex.c b/bin/ksh/lex.c index 11f065797f9..53e72b5ab25 100644 --- a/bin/ksh/lex.c +++ b/bin/ksh/lex.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lex.c,v 1.17 2003/02/28 09:45:09 jmc Exp $ */ +/* $OpenBSD: lex.c,v 1.18 2003/08/06 21:08:05 millert Exp $ */ /* * lexical analysis and source input @@ -1394,5 +1394,5 @@ pop_state_(si, old_end) afree(old_base, ATEMP); - return si->base + STATE_BSIZE - 1;; + return si->base + STATE_BSIZE - 1; } diff --git a/bin/ksh/misc.c b/bin/ksh/misc.c index 688c5820eed..832ad7ffbc7 100644 --- a/bin/ksh/misc.c +++ b/bin/ksh/misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: misc.c,v 1.17 2003/08/05 20:52:27 millert Exp $ */ +/* $OpenBSD: misc.c,v 1.18 2003/08/06 21:08:05 millert Exp $ */ /* * Miscellaneous functions @@ -1049,13 +1049,13 @@ ksh_getopt(argv, go, options) go->optarg = argv[go->optind - 1] + go->p; go->p = 0; } else - go->optarg = (char *) 0;; + go->optarg = (char *) 0; } else { if (argv[go->optind] && digit(argv[go->optind][0])) { go->optarg = argv[go->optind++]; go->p = 0; } else - go->optarg = (char *) 0;; + go->optarg = (char *) 0; } } return c; -- cgit v1.2.3