network: Move variable declaration under an #if

Avoids an unused variable warning.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/116/merge
Timothy Gu 10 years ago committed by Michael Niedermayer
parent cf52e6d012
commit 7206b94fb8
  1. 2
      libavformat/network.c

@ -29,8 +29,8 @@
int ff_tls_init(void)
{
int ret;
#if CONFIG_TLS_OPENSSL_PROTOCOL
int ret;
if ((ret = ff_openssl_init()) < 0)
return ret;
#endif

Loading…
Cancel
Save