dovecot-2.2: ssl-params: Compiler warning fix when building with...

dovecot at dovecot.org dovecot at dovecot.org
Mon Nov 4 09:47:29 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/775b1e025939
changeset: 16933:775b1e025939
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Nov 04 09:47:17 2013 +0200
description:
ssl-params: Compiler warning fix when building without OpenSSL

diffstat:

 src/ssl-params/ssl-params.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (15 lines):

diff -r 10c0aae82d0d -r 775b1e025939 src/ssl-params/ssl-params.c
--- a/src/ssl-params/ssl-params.c	Sun Nov 03 23:27:15 2013 +0200
+++ b/src/ssl-params/ssl-params.c	Mon Nov 04 09:47:17 2013 +0200
@@ -34,8 +34,9 @@
 	ssl_params_callback_t *callback;
 };
 
-static void ssl_params_if_unchanged(const char *path, time_t mtime,
-				    unsigned int ssl_dh_parameters_length)
+static void
+ssl_params_if_unchanged(const char *path, time_t mtime,
+			unsigned int ssl_dh_parameters_length ATTR_UNUSED)
 {
 	const char *temp_path;
 	struct file_lock *lock;


More information about the dovecot-cvs mailing list