Move variable declarations into the conditional block where they are

used, to fix warning if WITH_SSL is not set.

Submitted by:	Sean Bruno
MFC after:	1 week
This commit is contained in:
Ed Maste 2010-10-24 01:05:10 +00:00
parent 377c50f67a
commit a9d0c84909
1 changed files with 1 additions and 1 deletions

View File

@ -321,9 +321,9 @@ fetch_connect(const char *host, int port, int af, int verbose)
int
fetch_ssl(conn_t *conn, int verbose)
{
#ifdef WITH_SSL
int ret, ssl_err;
#ifdef WITH_SSL
/* Init the SSL library and context */
if (!SSL_library_init()){
fprintf(stderr, "SSL library init failed\n");