mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-18 18:01:13 +00:00
Fix the icky fixme :)
This commit is contained in:
parent
a91f4cedeb
commit
c4ba294433
1 changed files with 2 additions and 2 deletions
|
@ -1416,8 +1416,8 @@ check_final_block (sblock_t *sblock)
|
||||||
if (current_func->sym->type->t.func.type != &type_void)
|
if (current_func->sym->type->t.func.type != &type_void)
|
||||||
warning (0, "control reaches end of non-void function");
|
warning (0, "control reaches end of non-void function");
|
||||||
if (options.traditional || options.code.progsversion == PROG_ID_VERSION) {
|
if (options.traditional || options.code.progsversion == PROG_ID_VERSION) {
|
||||||
expr_t *e = new_ret_expr (current_func->sym->type->t.func.type);
|
return_symbol = make_symbol (".return", &type_param, pr.symtab->space,
|
||||||
return_symbol = e->e.expr.e1->e.symbol;//FIXME ick
|
st_extern);
|
||||||
return_opcode = "<RETURN>";
|
return_opcode = "<RETURN>";
|
||||||
}
|
}
|
||||||
if (return_symbol) {
|
if (return_symbol) {
|
||||||
|
|
Loading…
Reference in a new issue