From 328f0494a35143f378992743ae1b29109a52e133 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Tue, 2 May 2017 14:18:07 +0200 Subject: [PATCH] Remove -Wno-unused-result from configure.ac. --- .travis.yml | 4 ++++ configure.ac | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a15e44e..45a07e7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,3 +18,7 @@ before_script: script: - make check + +env: + global: + - CFLAGS="-Wno-unused-result" diff --git a/configure.ac b/configure.ac index 3a11a2f..e0017d9 100644 --- a/configure.ac +++ b/configure.ac @@ -127,7 +127,7 @@ AM_CONDITIONAL([WITH_SETUID], [test x"$enable_setuid" = x"yes"]) AC_ARG_ENABLE([developer-warnings], AS_HELP_STRING([--enable-developer-warnings], [enable strict warnings (default is NO)]), - [CFLAGS="${CFLAGS} -Wall -Wextra -Wcast-qual -Wshadow -Wno-unused-result"]) + [CFLAGS="${CFLAGS} -Wall -Wextra -Wcast-qual -Wshadow"]) AC_ARG_ENABLE([debugging-symbols], AS_HELP_STRING([--enable-debugging-symbols], [enable debugging symbols (default is NO)]),