ci: variables, drop obsolete Warn_Cflags

raveit65 2020-04-11 12:45:15 +02:00
parent 4b7dac5989
commit 1001bacc67
1 changed files with 1 additions and 2 deletions

View File

@ -71,7 +71,6 @@ requires:
- yelp-tools - yelp-tools
variables: variables:
- CFLAGS="-Wall -Werror=format-security -Wredundant-decls"
- 'CHECKERS=" - 'CHECKERS="
-enable-checker deadcode.DeadStores -enable-checker deadcode.DeadStores
-enable-checker alpha.deadcode.UnreachableCode -enable-checker alpha.deadcode.UnreachableCode
@ -108,7 +107,7 @@ before_scripts:
- make install - make install
build_scripts: build_scripts:
- ./autogen.sh --enable-compile-warnings=maximum - ./autogen.sh
- scan-build $CHECKERS ./configure --enable-compile-warnings=maximum - scan-build $CHECKERS ./configure --enable-compile-warnings=maximum
- if [ $CPU_COUNT -gt 1 ]; then - if [ $CPU_COUNT -gt 1 ]; then
- scan-build $CHECKERS --keep-cc -o html-report make -j $CPU_COUNT - scan-build $CHECKERS --keep-cc -o html-report make -j $CPU_COUNT