Skip to content

Commit b2b2ed9

Browse files
committed
Drop -Wduplicated-branches
This seems to produce a bunch of frustrating case notably on 32bit
1 parent 2926063 commit b2b2ed9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Zend/Zend.m4

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,6 @@ test -n "$GCC" && CFLAGS="-Wall -Wextra -Wno-strict-aliasing -Wno-implicit-fallt
216216
dnl Check if compiler supports -Wno-clobbered (only GCC)
217217
AX_CHECK_COMPILE_FLAG([-Wno-clobbered], CFLAGS="-Wno-clobbered $CFLAGS", , [-Werror])
218218
AX_CHECK_COMPILE_FLAG([-Wduplicated-cond], CFLAGS="-Wduplicated-cond $CFLAGS", , [-Werror])
219-
AX_CHECK_COMPILE_FLAG([-Wduplicated-branches], CFLAGS="-Wduplicated-branches $CFLAGS", , [-Werror])
220219
AX_CHECK_COMPILE_FLAG([-Wlogical-op], CFLAGS="-Wlogical-op $CFLAGS", , [-Werror])
221220
AX_CHECK_COMPILE_FLAG([-Wformat-truncation ], CFLAGS="-Wformat-truncation $CFLAGS", , [-Werror])
222221

0 commit comments

Comments
 (0)