]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
since we don't bail on some of the warnings right away, (that is, with -Werror),...
authorWolfgang Bumiller <wry.git@bumiller.com>
Wed, 18 Sep 2013 14:20:07 +0000 (16:20 +0200)
committerWolfgang Bumiller <wry.git@bumiller.com>
Wed, 18 Sep 2013 14:20:25 +0000 (16:20 +0200)
main.c

diff --git a/main.c b/main.c
index fa245a936800d8f6ec72af07080179703ca5f5e3..9a76706b06653412f017945dde44aa891ccdc06e 100644 (file)
--- a/main.c
+++ b/main.c
@@ -790,5 +790,7 @@ cleanup:
     lex_cleanup();
     stat_info();
 
+    if (!retval && compile_errors)
+        retval = 1;
     return retval;
 }