summaryrefslogtreecommitdiff
path: root/bin/ksh
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-08-06 21:08:09 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-08-06 21:08:09 +0000
commit8f4be4c9fc053e06d8170659c9bde356ada1a655 (patch)
treed116498a9604b21bf16d82850fcf1726939a4f6a /bin/ksh
parent9293e104f0b834487ffef8344f12e9dc93c0abd0 (diff)
Remove some double semicolons (hmm, do two semis equal a maxi?).
I've skipped the GNU stuff for now. From Patrick Latifi.
Diffstat (limited to 'bin/ksh')
-rw-r--r--bin/ksh/lex.c4
-rw-r--r--bin/ksh/misc.c6
2 files changed, 5 insertions, 5 deletions
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;