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:
committed by
Michael Niedermayer
parent
cf52e6d012
commit
7206b94fb8
@@ -29,8 +29,8 @@
|
|||||||
|
|
||||||
int ff_tls_init(void)
|
int ff_tls_init(void)
|
||||||
{
|
{
|
||||||
int ret;
|
|
||||||
#if CONFIG_TLS_OPENSSL_PROTOCOL
|
#if CONFIG_TLS_OPENSSL_PROTOCOL
|
||||||
|
int ret;
|
||||||
if ((ret = ff_openssl_init()) < 0)
|
if ((ret = ff_openssl_init()) < 0)
|
||||||
return ret;
|
return ret;
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user