dovecot-2.2: lib-ssl-iostream: Compiler warning fix when compili...

dovecot at dovecot.org dovecot at dovecot.org
Tue Nov 6 14:20:11 EET 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/cca85adcb583
changeset: 15384:cca85adcb583
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Nov 06 14:20:00 2012 +0200
description:
lib-ssl-iostream: Compiler warning fix when compiling without ssl

diffstat:

 src/lib-ssl-iostream/iostream-ssl.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r d9d5b09a0b5b -r cca85adcb583 src/lib-ssl-iostream/iostream-ssl.c
--- a/src/lib-ssl-iostream/iostream-ssl.c	Tue Nov 06 02:33:38 2012 +0200
+++ b/src/lib-ssl-iostream/iostream-ssl.c	Tue Nov 06 14:20:00 2012 +0200
@@ -5,7 +5,9 @@
 #include "iostream-ssl-private.h"
 
 static bool ssl_module_loaded = FALSE;
+#ifdef HAVE_SSL
 static struct module *ssl_module = NULL;
+#endif
 static const struct iostream_ssl_vfuncs *ssl_vfuncs = NULL;
 
 static int ssl_module_load(void)


More information about the dovecot-cvs mailing list