mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-23 20:33:05 +00:00
since we don't bail on some of the warnings right away, (that is, with -Werror), also check the compile_errors count in main rather than just the return values
This commit is contained in:
parent
b6da3613ac
commit
5a47dd5e62
1 changed files with 2 additions and 0 deletions
2
main.c
2
main.c
|
@ -790,5 +790,7 @@ cleanup:
|
|||
lex_cleanup();
|
||||
stat_info();
|
||||
|
||||
if (!retval && compile_errors)
|
||||
retval = 1;
|
||||
return retval;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue