Revert "network: Remove an unused label."

This reverts commit 663411401 and correctly undefine out: if needed.
This commit is contained in:
Pierre d'Herbemont 2009-08-20 18:48:45 +02:00
parent f4b8250a18
commit c053f4ab75
2 changed files with 6 additions and 1 deletions

View 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

View 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;
}