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)]),