Mercurial > dovecot > core-2.2
changeset 7501:c6e9fd175bdf HEAD
Added ATTR_UNUSED to function parameters that won't be implemented for v1.1.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 05 May 2008 00:46:51 +0300 |
parents | 74e2c7b68c71 |
children | 3b09af6458e5 |
files | src/lib-dict/dict-db.c src/lib-sql/driver-mysql.c src/lib-storage/index/dbox/dbox-sync-rebuild.c |
diffstat | 3 files changed, 10 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-dict/dict-db.c Mon May 05 00:37:52 2008 +0300 +++ b/src/lib-dict/dict-db.c Mon May 05 00:46:51 2008 +0300 @@ -406,8 +406,9 @@ dict->pdb->del(dict->pdb, ctx->tid, &dkey, 0); } -static void db_dict_atomic_inc(struct dict_transaction_context *_ctx, - const char *key, long long diff) +static void +db_dict_atomic_inc(struct dict_transaction_context *_ctx ATTR_UNUSED, + const char *key ATTR_UNUSED, long long diff ATTR_UNUSED) { /* FIXME */ }
--- a/src/lib-sql/driver-mysql.c Mon May 05 00:37:52 2008 +0300 +++ b/src/lib-sql/driver-mysql.c Mon May 05 00:46:51 2008 +0300 @@ -534,10 +534,11 @@ } static const unsigned char * -driver_mysql_result_get_field_value_binary(struct sql_result *_result, - unsigned int idx, size_t *size_r) +driver_mysql_result_get_field_value_binary(struct sql_result *_result ATTR_UNUSED, + unsigned int idx ATTR_UNUSED, + size_t *size_r ATTR_UNUSED) { - // FIXME + /* FIXME */ return NULL; }
--- a/src/lib-storage/index/dbox/dbox-sync-rebuild.c Mon May 05 00:37:52 2008 +0300 +++ b/src/lib-storage/index/dbox/dbox-sync-rebuild.c Mon May 05 00:46:51 2008 +0300 @@ -225,8 +225,9 @@ } static int -dbox_sync_index_multi_file(struct dbox_sync_rebuild_context *ctx, - const char *dir, const char *fname) +dbox_sync_index_multi_file(struct dbox_sync_rebuild_context *ctx ATTR_UNUSED, + const char *dir ATTR_UNUSED, + const char *fname ATTR_UNUSED) { /* FIXME */ return 0;