]> git.sesse.net Git - vlc/commitdiff
configure: remove return-type from Werror warnings
authorPierre Ynard <linkfanel@yahoo.fr>
Fri, 28 Aug 2009 18:02:58 +0000 (20:02 +0200)
committerPierre Ynard <linkfanel@yahoo.fr>
Fri, 28 Aug 2009 18:02:58 +0000 (20:02 +0200)
Some "no return statement in function returning non-void" warnings are
definitely not errors, and cannot be silenced without introducing dead
code, which is arguably just worse.

configure.ac

index b67b0a835bde73f8710a8be5dd028754fa6cf6a3..3922ec60f86396032a92bbdfbe99fa2acbe228c8 100644 (file)
@@ -1016,7 +1016,7 @@ AC_ARG_ENABLE(warnings-as-error,
 AS_IF([test "${enable_warnings_as_error}" = "yes"], [
     RDC_PROG_CC_WERRORFLAGS([unused-function unused-label unused-value unused-parameter unused-variable unused \
      missing-braces nonnull parentheses uninitialized address enum-compare undef comment switch \
-     bad-function-cast implicit sequence-point return-type strict-aliasing array-bounds missing-parameter-type \
+     bad-function-cast implicit sequence-point strict-aliasing array-bounds missing-parameter-type \
      overflow int-to-pointer-cast pointer-to-int-cast div-by-zero overflow ignored])
 ])
 AC_SUBST(CFLAGS_WERROR)