]> git.sesse.net Git - vlc/commitdiff
Revert "network: Remove an unused label."
authorPierre d'Herbemont <pdherbemont@free.fr>
Thu, 20 Aug 2009 16:48:45 +0000 (18:48 +0200)
committerPierre d'Herbemont <pdherbemont@free.fr>
Thu, 20 Aug 2009 16:49:27 +0000 (18:49 +0200)
This reverts commit 663411401 and correctly undefine out: if needed.

configure.ac
src/network/getaddrinfo.c

index 4a88e5b25dc1d7191df1ca3404fedde486a85d80..48a0eb022ed906aca23fb92a4fe1860eb0b9918e 100644 (file)
@@ -1011,7 +1011,9 @@ AC_ARG_ENABLE(warnings-as-error,
 if test "x${warnings_as_error}" = "xyes" -o "x${enable_debug}" != "xno"
 then
     RDC_PROG_CC_WERRORFLAGS([unused-function unused-label unused-value unused-parameter unused-variable unused \
-    missing-parameter-type missing-declarations undef address enum-compare implicit-int implicit-function-declaration comment format main missing-braces nonnull parentheses pointer-sign reorder return-type sequence-point switch trigraphs uninitialized])
+    missing-parameter-type missing-declarations undef address enum-compare implicit-int implicit-function-declaration \
+    comment format format-security format-nonliteral main missing-braces nonnull parentheses pointer-sign reorder return-type sequence-point switch trigraphs uninitialized \
+    bad-function-cast end])
 fi
 
 dnl Check for various optimization flags
index 1e3d08b4e853b6828fa31cd8b54bdecb9a68876a..dcea956dc242ff19fe16df826374f1aaef65fa9a 100644 (file)
@@ -689,6 +689,9 @@ int vlc_getaddrinfo( vlc_object_t *p_this, const char *node,
 #endif
     ret = getaddrinfo (node, psz_service, &hints, res);
 
+#if defined(AI_IDN) || defined(WIN32)
+out:
+#endif
     LocaleFree (node);
     return ret;
 }