From 647c122d98c025e9efdc92476e0ba00d3b0b6f75 Mon Sep 17 00:00:00 2001
From: Taylor R Campbell <campbell@mumble.net>
Date: Sat, 10 Nov 2018 18:00:00 +0000
Subject: [PATCH] Disable -Wunreachable-code for now, too many false positives.

---
 src/microcode/configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/microcode/configure.ac b/src/microcode/configure.ac
index 194ccf1b9..29a5d70c3 100644
--- a/src/microcode/configure.ac
+++ b/src/microcode/configure.ac
@@ -234,7 +234,6 @@ if test x"${GCC}" = xyes; then
 	-Wtype-limits \
 	-Wundef \
 	-Wuninitialized \
-	-Wunreachable-code \
 	-Wwrite-strings \
 	\
 	-Wno-error=stringop-truncation \
@@ -253,6 +252,7 @@ if test x"${GCC}" = xyes; then
     # -Wmissing-prototypes (requires prototypes for DEFINE_PRIMITIVE)
     # -Wstringop-truncation (requires it to not whine about correct use
     #  of strncpy for buffers that are _not_ null-terminated)
+    # -Wunreachable-code (too many false positives in clang)
 fi
 FOO=`${INSTALL} --help 2> /dev/null | ${FGREP} -e --preserve-timestamps`
 if test "x${FOO}" != x; then
-- 
2.25.1