mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 06:10:56 +00:00
Fix the bogus missing return warning.
Pascal's return mechanism is such that void return is always used.
This commit is contained in:
parent
3f351a5c88
commit
7519ec7bbd
1 changed files with 1 additions and 0 deletions
|
@ -242,6 +242,7 @@ subprogram_declaration
|
|||
}
|
||||
declarations compound_statement ';'
|
||||
{
|
||||
append_expr ($5, new_unary_expr ('r', 0));
|
||||
build_code_function ($1, 0, $5);
|
||||
current_symtab = current_symtab->parent;
|
||||
current_storage = $<storage>3;
|
||||
|
|
Loading…
Reference in a new issue