network: Move variable declaration under an #if

Avoids an unused variable warning.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Timothy Gu 2015-05-27 16:39:55 -07:00 committed by Michael Niedermayer
parent cf52e6d012
commit 7206b94fb8

View File

@ -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