diff --git a/tools/qfcc/source/dags.c b/tools/qfcc/source/dags.c index ea361affc..6969344d9 100644 --- a/tools/qfcc/source/dags.c +++ b/tools/qfcc/source/dags.c @@ -147,7 +147,7 @@ unalias_op (operand_t *op) internal_error (op->expr, "not an alias op"); } if (op->op_type == op_alias) { - return op->alias;; + return op->alias; } if (op->op_type == op_temp) { return op->tempop.alias; diff --git a/tools/qfcc/source/expr_algebra.c b/tools/qfcc/source/expr_algebra.c index cf6c12b51..4644f94a4 100644 --- a/tools/qfcc/source/expr_algebra.c +++ b/tools/qfcc/source/expr_algebra.c @@ -449,7 +449,7 @@ count_terms (const expr_t *expr) } auto e1 = expr->expr.e1; auto e2 = expr->expr.e2; - int terms = !is_sum (e1) + !is_sum (e2);; + int terms = !is_sum (e1) + !is_sum (e2); if (is_sum (e1)) { terms += count_terms (expr->expr.e1); } @@ -467,7 +467,7 @@ count_factors (const expr_t *expr) } auto e1 = expr->expr.e1; auto e2 = expr->expr.e2; - int terms = !is_mult (e1) + !is_mult (e2);; + int terms = !is_mult (e1) + !is_mult (e2); if (is_mult (e1)) { terms += count_factors (expr->expr.e1); } diff --git a/tools/qfcc/source/expr_compound.c b/tools/qfcc/source/expr_compound.c index 1f9fcc7e6..b8aca016f 100644 --- a/tools/qfcc/source/expr_compound.c +++ b/tools/qfcc/source/expr_compound.c @@ -110,7 +110,7 @@ designator_field (const designator_t *des, const type_t *type) } symtab_t *symtab = type->t.symtab; symbol_t *sym = des->field->symbol; - symbol_t *field = symtab_lookup (symtab, sym->name);; + symbol_t *field = symtab_lookup (symtab, sym->name); if (!field) { const char *name = type->name; if (!strncmp (name, "tag ", 4)) { diff --git a/tools/qfcc/source/function.c b/tools/qfcc/source/function.c index dbf4fb117..a3bcc04ac 100644 --- a/tools/qfcc/source/function.c +++ b/tools/qfcc/source/function.c @@ -756,7 +756,7 @@ build_rua_scope (symbol_t *fsym) param = new_symbol_type (p->name, p->type); } create_param (fsym->s.func->parameters, param); - param->s.def->reg = fsym->s.func->temp_reg;; + param->s.def->reg = fsym->s.func->temp_reg; } } diff --git a/tools/qfcc/source/statements.c b/tools/qfcc/source/statements.c index 974e1eb54..a0007ae3c 100644 --- a/tools/qfcc/source/statements.c +++ b/tools/qfcc/source/statements.c @@ -2114,7 +2114,7 @@ static int is_if_expr (const expr_t *e) { return e && e->type == ex_branch && e->branch.type != pr_branch_jump - && e->branch.type != pr_branch_call;; + && e->branch.type != pr_branch_call; } static int