mirror of
https://code.videolan.org/videolan/vlc
synced 2024-10-03 01:31:53 +02:00
Revert "network: Remove an unused label."
This reverts commit 663411401
and correctly undefine out: if needed.
This commit is contained in:
parent
f4b8250a18
commit
c053f4ab75
@ -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,
|
|||||||
#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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user