summaryrefslogtreecommitdiff
path: root/libavformat/network.c
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2015-05-27 16:39:55 -0700
committerMichael Niedermayer <michaelni@gmx.at>2015-05-28 03:06:05 +0200
commit7206b94fb893c63b187bcdfe26422b4e026a3ea0 (patch)
tree632f9ed1cb3465b512e210ae1d2c988427776259 /libavformat/network.c
parentcf52e6d012d035b82080e6cc045378f900627870 (diff)
network: Move variable declaration under an #if
Avoids an unused variable warning. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/network.c')
-rw-r--r--libavformat/network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/network.c b/libavformat/network.c
index 2d0503168e..8cc5aad6a9 100644
--- a/libavformat/network.c
+++ b/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