]> de.git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
Fix another warning
authorDale Weiler <killfieldengine@gmail.com>
Fri, 28 Dec 2012 12:40:00 +0000 (12:40 +0000)
committerDale Weiler <killfieldengine@gmail.com>
Fri, 28 Dec 2012 12:40:00 +0000 (12:40 +0000)
lexer.c
splint.sh

diff --git a/lexer.c b/lexer.c
index a2e69d5f17f1c5bce8fb555cfebfeaa77539f928..43182c335ae93ef94bf262ce82c065375a9b1423 100644 (file)
--- 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)
index 0347bc421a1f03c4a29ce12772dd2070b5e8a3dc..8d4ab2a866f46e0c24293ed7bbc2699927996ffd 100755 (executable)
--- 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"