diff options
author | emaste <emaste@FreeBSD.org> | 2010-10-24 01:05:10 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2010-10-24 01:05:10 +0000 |
commit | c50e7d346796550643b026f30bcfd45195edba69 (patch) | |
tree | 408d44b46b0d487c4ea4afd51abc6f3f93a6ec02 | |
parent | 588f6113eb0b6c90b6c04c5610fd020f6936fb02 (diff) | |
download | FreeBSD-src-c50e7d346796550643b026f30bcfd45195edba69.zip FreeBSD-src-c50e7d346796550643b026f30bcfd45195edba69.tar.gz |
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
-rw-r--r-- | lib/libfetch/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libfetch/common.c b/lib/libfetch/common.c index adeeb45..ff10d27 100644 --- a/lib/libfetch/common.c +++ b/lib/libfetch/common.c @@ -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"); |