Browse Source

network: Move variable declaration under an #if

Avoids an unused variable warning.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.7
Timothy Gu Michael Niedermayer 10 years ago
parent
commit
7206b94fb8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/network.c

+ 1
- 1
libavformat/network.c View File

@@ -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


Loading…
Cancel
Save