Commit 7206b94f authored by Timothy Gu's avatar Timothy Gu Committed by Michael Niedermayer

network: Move variable declaration under an #if

Avoids an unused variable warning.
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent cf52e6d0
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment