mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-04-15 05:41:59 +00:00
[qfcc] Clean up some double semicolons
None of them really affected anything, but I have seen them cause problems in the past.
This commit is contained in:
parent
80e493e588
commit
8fe23a29b3
5 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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)) {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue