Date: Sun, 24 Oct 2010 01:05:10 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r214256 - head/lib/libfetch Message-ID: <201010240105.o9O15Am1007321@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: emaste Date: Sun Oct 24 01:05:10 2010 New Revision: 214256 URL: http://svn.freebsd.org/changeset/base/214256 Log: 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 Modified: head/lib/libfetch/common.c Modified: head/lib/libfetch/common.c ============================================================================== --- head/lib/libfetch/common.c Sat Oct 23 22:28:29 2010 (r214255) +++ head/lib/libfetch/common.c Sun Oct 24 01:05:10 2010 (r214256) @@ -321,9 +321,9 @@ fetch_connect(const char *host, int port 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");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010240105.o9O15Am1007321>