X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=splint.sh;h=ecca177bd7426df097ad179810e406279285890d;hb=e146fd121caad020e2f5259ed71dc3146c2dafb1;hp=fcce1b4759459789730bec69aacd8f29e1dcf23a;hpb=f58b4a6cd98d84589efc8b8ebb6bcbef2aa2b12b;p=xonotic%2Fgmqcc.git diff --git a/splint.sh b/splint.sh index fcce1b4..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,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