dovecot-2.2-pigeonhole: Compile warning fixes.

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Mon Apr 8 00:42:23 EEST 2013


details:   http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/aafcff20c8a7
changeset: 1748:aafcff20c8a7
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Sun Apr 07 23:42:04 2013 +0200
description:
Compile warning fixes.

diffstat:

 src/plugins/sieve-extprograms/script-client-remote.c     |  8 --------
 src/plugins/sieve-extprograms/sieve-extprograms-common.h |  2 +-
 2 files changed, 1 insertions(+), 9 deletions(-)

diffs (30 lines):

diff -r 1d2bf4a7dc9f -r aafcff20c8a7 src/plugins/sieve-extprograms/script-client-remote.c
--- a/src/plugins/sieve-extprograms/script-client-remote.c	Sun Apr 07 02:30:11 2013 +0200
+++ b/src/plugins/sieve-extprograms/script-client-remote.c	Sun Apr 07 23:42:04 2013 +0200
@@ -114,14 +114,6 @@
 	return ret;
 }
 
-static void ATTR_NORETURN script_client_istream_seek
-(struct istream_private *stream ATTR_UNUSED, uoff_t v_offset ATTR_UNUSED,
-	bool mark ATTR_UNUSED)
-{
-	// FIXME: implement forward seeking
-	i_panic("script_client_istream seek() not implemented");
-}
-
 static void ATTR_NORETURN script_client_istream_sync
 (struct istream_private *stream ATTR_UNUSED)
 {
diff -r 1d2bf4a7dc9f -r aafcff20c8a7 src/plugins/sieve-extprograms/sieve-extprograms-common.h
--- a/src/plugins/sieve-extprograms/sieve-extprograms-common.h	Sun Apr 07 02:30:11 2013 +0200
+++ b/src/plugins/sieve-extprograms/sieve-extprograms-common.h	Sun Apr 07 23:42:04 2013 +0200
@@ -77,7 +77,7 @@
 
 void sieve_extprogram_exec_error
 	(struct sieve_error_handler *ehandler, const char *location,
-		const char *fmt, ...);
+		const char *fmt, ...) ATTR_FORMAT(3, 4);
 
 struct sieve_extprogram *sieve_extprogram_create
 	(const struct sieve_extension *ext, const struct sieve_script_env *senv,


More information about the dovecot-cvs mailing list