Commit c053f4ab authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

Revert "network: Remove an unused label."

This reverts commit 66341140 and correctly undefine out: if needed.
parent f4b8250a
...@@ -1011,7 +1011,9 @@ AC_ARG_ENABLE(warnings-as-error, ...@@ -1011,7 +1011,9 @@ AC_ARG_ENABLE(warnings-as-error,
if test "x${warnings_as_error}" = "xyes" -o "x${enable_debug}" != "xno" if test "x${warnings_as_error}" = "xyes" -o "x${enable_debug}" != "xno"
then then
RDC_PROG_CC_WERRORFLAGS([unused-function unused-label unused-value unused-parameter unused-variable unused \ 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 fi
dnl Check for various optimization flags dnl Check for various optimization flags
......
...@@ -689,6 +689,9 @@ int vlc_getaddrinfo( vlc_object_t *p_this, const char *node, ...@@ -689,6 +689,9 @@ int vlc_getaddrinfo( vlc_object_t *p_this, const char *node,
#endif #endif
ret = getaddrinfo (node, psz_service, &hints, res); ret = getaddrinfo (node, psz_service, &hints, res);
#if defined(AI_IDN) || defined(WIN32)
out:
#endif
LocaleFree (node); LocaleFree (node);
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment