Skip to content

Commit bb47bfc

Browse files
committed
configure.ac: drop -Werror
Drop -Werror to avoid the following build failure with -DNDEBUG: src/filemq_client.c:7:6: error: variable 'rc' set but not used [-Werror=unused-but-set-variable] 7 | int rc; | ^~ Fixes: - http://autobuild.buildroot.org/results/cf4c45ed7ae2c5090ac6ba967497e0d42d5c5224 Signed-off-by: Fabrice Fontaine <[email protected]>
1 parent 8940f34 commit bb47bfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ AC_C_BIGENDIAN
366366

367367
# These options are GNU compiler specific.
368368
if test "x$GCC" = "xyes"; then
369-
CPPFLAGS="-pedantic -Werror -Wall -Wc++-compat ${CPPFLAGS}"
369+
CPPFLAGS="-pedantic -Wall -Wc++-compat ${CPPFLAGS}"
370370
fi
371371

372372
AM_CONDITIONAL(ENABLE_SHARED, test "x$enable_shared" = "xyes")

0 commit comments

Comments
 (0)