X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=splint.sh;h=ecca177bd7426df097ad179810e406279285890d;hb=793547a132108f09f1baf14a61f8cff0a6b61ba0;hp=0347bc421a1f03c4a29ce12772dd2070b5e8a3dc;hpb=e4b8df2dc69f8debfcb7ab43a246caf859a2c66a;p=xonotic%2Fgmqcc.git diff --git a/splint.sh b/splint.sh index 0347bc4..ecca177 100755 --- 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,12 +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 \ - -incondefs \ - -initallelements \ - -macroredef \ - -castfcnptr \ - -evalorder" + -castfcnptr" splint $FLAGS_STUPID $FLAGS_MAYBE $FLAGS_TOFIX $FLAGS_OTHERS *.c *.h