summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2017-06-21 20:42:57 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.com>2017-06-21 20:43:00 -0400
commit9f800d3597767855accccc592c34bc4e945f5bd5 (patch)
tree6e7e0062ba699b537798d4c2481164fb8722e800
parent63d273cea42def3567701ad9feab91f63cf9345f (diff)
downloadlibnice-9f800d3597767855accccc592c34bc4e945f5bd5.tar.gz
configure: Remove -Wswitch-enum
Creates useless warnings when other libraries change. https://phabricator.freedesktop.org/T7770
-rw-r--r--configure.ac1
1 files changed, 0 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 6c106ff..16988ad 100644
--- a/configure.ac
+++ b/configure.ac
@@ -154,7 +154,6 @@ AS_IF([test "$enable_compile_warnings" = "yes" -o \
])
AS_IF([test "$enable_compile_warnings" = "maximum" -o \
"$enable_compile_warnings" = "error"],[
- NICE_ADD_FLAG([-Wswitch-enum])
NICE_ADD_FLAG([-Wswitch-default])
NICE_ADD_FLAG([-Waggregate-return])
])