mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-02-20 18:32:01 +00:00
Fix another warning
This commit is contained in:
parent
e4b8df2dc6
commit
e2f9aa5027
2 changed files with 4 additions and 3 deletions
2
lexer.c
2
lexer.c
|
@ -736,6 +736,8 @@ static bool lex_finish_frames(lex_file *lex)
|
|||
vec_shrinkto(lex->tok.value, 0);
|
||||
vec_push(lex->frames, m);
|
||||
} while (true);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
static int GMQCC_WARN lex_finish_string(lex_file *lex, int quote)
|
||||
|
|
|
@ -18,6 +18,8 @@ FLAGS_STUPID="\
|
|||
-predboolint \
|
||||
-boolops \
|
||||
-exportlocal \
|
||||
-incondefs \
|
||||
-macroredef \
|
||||
-retvalint \
|
||||
-nullret \
|
||||
-predboolothers \
|
||||
|
@ -52,7 +54,6 @@ FLAGS_MAYBE="\
|
|||
-mayaliasunique \
|
||||
-realcompare \
|
||||
-observertrans \
|
||||
-noret \
|
||||
-shiftnegative \
|
||||
-exitarg \
|
||||
-freshtrans \
|
||||
|
@ -64,9 +65,7 @@ FLAGS_MAYBE="\
|
|||
# remove one flag from here at a time while fixing the code so that
|
||||
FLAGS_TOFIX="\
|
||||
-boolcompare \
|
||||
-incondefs \
|
||||
-initallelements \
|
||||
-macroredef \
|
||||
-castfcnptr \
|
||||
-evalorder"
|
||||
|
||||
|
|
Loading…
Reference in a new issue