From 7206b94fb893c63b187bcdfe26422b4e026a3ea0 Mon Sep 17 00:00:00 2001 From: Timothy Gu Date: Wed, 27 May 2015 16:39:55 -0700 Subject: [PATCH] network: Move variable declaration under an #if Avoids an unused variable warning. Signed-off-by: Michael Niedermayer --- libavformat/network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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