diff options
author | Pablo Barciela <[email protected]> | 2020-04-06 23:03:12 +0200 |
---|---|---|
committer | Pablo Barciela <[email protected]> | 2020-04-07 00:20:07 +0200 |
commit | 3c043e76fc0443039026adc88dea6f5ac706aa6e (patch) | |
tree | 469a737603536840abf86c7bc81c009f817f7f21 | |
parent | bb66a7e3f4ca9e9d7d85c5d4950ea2650781762b (diff) | |
download | engrampa-3c043e76fc0443039026adc88dea6f5ac706aa6e.tar.bz2 engrampa-3c043e76fc0443039026adc88dea6f5ac706aa6e.tar.xz |
Travis CI: debian build: add -Wunused-parameter to CFLAGS
-rw-r--r-- | .build.yml | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -92,6 +92,10 @@ variables: -enable-checker security.insecureAPI.strcpy"' build_scripts: + - if [ ${DISTRO_NAME} == "debian" ];then + - export CFLAGS+=" -Wunused-parameter" + - cppcheck --enable=warning,style,performance,portability,information,missingInclude . + - fi - ./autogen.sh --enable-compile-warnings=maximum - scan-build $CHECKERS ./configure --enable-compile-warnings=maximum - if [ $CPU_COUNT -gt 1 ]; then @@ -99,9 +103,6 @@ build_scripts: - else - scan-build $CHECKERS --keep-cc -o html-report make - fi - - if [ ${DISTRO_NAME} == "debian" ];then - - cppcheck --enable=warning,style,performance,portability,information,missingInclude . - - fi before_scripts: - cd ${START_DIR} |