Remove -Wno-unused-result from configure.ac.

This commit is contained in:
Dag-Erling Smørgrav 2017-05-02 14:18:07 +02:00
parent 9edbff86a9
commit 328f0494a3
2 changed files with 5 additions and 1 deletions

View file

@ -18,3 +18,7 @@ before_script:
script:
- make check
env:
global:
- CFLAGS="-Wno-unused-result"

View file

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