Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2015-05-28 02:39:55 +0300
committerMichael Niedermayer <michaelni@gmx.at>2015-05-28 04:06:05 +0300
commit7206b94fb893c63b187bcdfe26422b4e026a3ea0 (patch)
tree632f9ed1cb3465b512e210ae1d2c988427776259 /libavformat
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')
-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