]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - splint.sh
Adding '&~=' to the -std=gmqcc operator list
[xonotic/gmqcc.git] / splint.sh
index fcce1b4759459789730bec69aacd8f29e1dcf23a..ecca177bd7426df097ad179810e406279285890d 100755 (executable)
--- a/splint.sh
+++ b/splint.sh
@@ -18,6 +18,8 @@ FLAGS_STUPID="\
     -predboolint         \
     -boolops             \
     -exportlocal         \
+    -incondefs           \
+    -macroredef          \
     -retvalint           \
     -nullret             \
     -predboolothers      \
@@ -52,9 +54,7 @@ FLAGS_MAYBE="\
     -mayaliasunique      \
     -realcompare         \
     -observertrans       \
-    -noret               \
     -shiftnegative       \
-    -exitarg             \
     -freshtrans          \
     -abstract            \
     -statictrans"
@@ -63,14 +63,7 @@ FLAGS_MAYBE="\
 #these don't need to be here to onhibit the warning
 # remove one flag from here at a time while fixing the code so that
 FLAGS_TOFIX="\
-    -boolcompare         \
-    -formatconst         \
-    -unreachable         \
-    -incondefs           \
-    -initallelements     \
-    -macroredef          \
-    -castfcnptr          \
-    -evalorder"
+    -castfcnptr"
 
 
 splint $FLAGS_STUPID $FLAGS_MAYBE $FLAGS_TOFIX $FLAGS_OTHERS *.c *.h