diff options
-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} |