summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/travis-test.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/travis-test.sh b/tools/travis-test.sh
index 44b01a72f..353362066 100755
--- a/tools/travis-test.sh
+++ b/tools/travis-test.sh
@@ -25,8 +25,7 @@ if [ -n "$PYTHON_OPTS" ]; then
fi
# make some warnings fatal, mostly to match windows compilers
-werrors="-Werror=declaration-after-statement -Werror=vla "
-werrors+="-Werror=nonnull -Werror=pointer-arith"
+werrors="-Werror=vla -Werror=nonnull -Werror=pointer-arith"
# build with c99 by default