ref: 323c4e3e9108fa9333525d13f1e8626218b765b2
parent: d5ba7a743aa0a71de85332b403452fa3d498cb35
author: Hiltjo Posthuma <hiltjo@codemadness.org>
date: Wed Mar 30 16:07:59 EDT 2022
remove some more double colons ;;
--- a/src/cmd/as/target/x80/ins.c
+++ b/src/cmd/as/target/x80/ins.c
@@ -334,7 +334,7 @@
ld8(Op *op, Node **args)
{
Node *par1 = args[0], *par2 = args[1];
- int n = op->size, i = n;;
+ int n = op->size, i = n;
unsigned regval = 0;
unsigned char buf[4];
--- a/src/cmd/cc/cc1/init.c
+++ b/src/cmd/cc/cc1/init.c
@@ -80,7 +80,7 @@
str2ary(Type *tp)
{
Node *np;
- Type *btp = tp->type;;
+ Type *btp = tp->type;
Symbol *sym;
size_t len;
char *s;
--- a/src/cmd/cc/cc2/parser.c
+++ b/src/cmd/cc/cc2/parser.c
@@ -356,7 +356,7 @@
static void
waft(Node *np)
{
- Node *lastcase, *next;;
+ Node *lastcase, *next;
struct swtch *cur;
extern Node *curstmt;
@@ -490,7 +490,7 @@
nchilds = 2;
subop = BVA_COPY;
} else {
- error(EBBUILT);;
+ error(EBBUILT);
}
np->u.subop = subop;
--- a/src/cmd/ld/symbol.c
+++ b/src/cmd/ld/symbol.c
@@ -98,7 +98,7 @@
sp->hash = symtab[h];
symtab[h] = sp;
- return linksym(&undef, sym);;
+ return linksym(&undef, sym);
}
--- a/src/cmd/strip.c
+++ b/src/cmd/strip.c
@@ -29,7 +29,7 @@
static void
doit(char *fname)
{
- int type;;
+ int type;
size_t r;
FILE *src, *dst;
Map *map;