From: Dale Weiler Date: Fri, 28 Dec 2012 12:40:00 +0000 (+0000) Subject: Fix another warning X-Git-Tag: before-library~454 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e2f9aa5027ea5831ee0f53aba651273d04018dcd;p=xonotic%2Fgmqcc.git Fix another warning --- diff --git a/lexer.c b/lexer.c index a2e69d5..43182c3 100644 --- a/lexer.c +++ b/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) diff --git a/splint.sh b/splint.sh index 0347bc4..8d4ab2a 100755 --- a/splint.sh +++ b/splint.sh @@ -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"