diff --git a/.gitlab/ci/clang-Wall b/.gitlab/ci/clang-Wall index a54419f4..a9077576 100755 --- a/.gitlab/ci/clang-Wall +++ b/.gitlab/ci/clang-Wall @@ -3,9 +3,9 @@ for arg in "$@" do - case $arg in + case $arg in -O*) Wuninitialized=-Wuninitialized;; # only makes sense with `-O' - esac + esac done CLANG="clang${COMPILER_VERSION:+-$COMPILER_VERSION}" @@ -32,7 +32,7 @@ EXTRA="-Wextra \ exec $CLANG $PEDANTIC $CONVERSION \ -Wall $Wuninitialized \ - -Wno-switch \ + -Wno-switch \ -Wdisabled-optimization \ -Wwrite-strings \ -Wpointer-arith \ @@ -53,18 +53,3 @@ exec $CLANG $PEDANTIC $CONVERSION \ cat fi } - - -# -fcheck-memory-usage \ -# -Wall implies: -# -Wshadow -# -Wimplicit -# -Wreturn-type -# -Wunused -# -Wswitch -# -Wformat -# -Wchar-subscripts -# -Wparentheses -# -Wmissing-braces -# -Wtraditional -# -Wid-clash-31 diff --git a/.gitlab/ci/gcc-Wall b/.gitlab/ci/gcc-Wall index 273f8f1d..f45c607a 100755 --- a/.gitlab/ci/gcc-Wall +++ b/.gitlab/ci/gcc-Wall @@ -3,9 +3,9 @@ for arg in "$@" do - case $arg in + case $arg in -O*) Wuninitialized=-Wuninitialized;; # only makes sense with `-O' - esac + esac done GCC="gcc${COMPILER_VERSION:+-$COMPILER_VERSION}" @@ -38,7 +38,7 @@ EXTRA="-Wextra \ exec $GCC $PEDANTIC $CONVERSION \ -Wall $Wuninitialized \ - -Wno-switch \ + -Wno-switch \ -Wdisabled-optimization \ -Wwrite-strings \ -Wpointer-arith \ @@ -59,17 +59,3 @@ exec $GCC $PEDANTIC $CONVERSION \ cat fi } - -# -fcheck-memory-usage \ -# -Wall implies: -# -Wshadow -# -Wimplicit -# -Wreturn-type -# -Wunused -# -Wswitch -# -Wformat -# -Wchar-subscripts -# -Wparentheses -# -Wmissing-braces -# -Wtraditional -# -Wid-clash-31