Mercurial > dovecot > core-2.2
changeset 19207:0ae88b2978e0
Don't try to pass through void function's return value
I wish gcc or clang complained about these.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 24 Sep 2015 12:32:24 +0300 |
parents | aa23e99981d7 |
children | 81db26c26d6d |
files | src/lib-dict/dict.c src/lib-settings/settings-parser.c |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-dict/dict.c Thu Sep 24 10:11:29 2015 +0300 +++ b/src/lib-dict/dict.c Thu Sep 24 12:32:24 2015 +0300 @@ -133,7 +133,7 @@ callback(&result, context); return; } - return dict->v.lookup_async(dict, key, callback, context); + dict->v.lookup_async(dict, key, callback, context); } struct dict_iterate_context *
--- a/src/lib-settings/settings-parser.c Thu Sep 24 10:11:29 2015 +0300 +++ b/src/lib-settings/settings-parser.c Thu Sep 24 12:32:24 2015 +0300 @@ -1296,7 +1296,7 @@ void *set, pool_t pool, const struct var_expand_table *table) { - return settings_var_expand_with_funcs(info, set, pool, table, NULL, NULL); + settings_var_expand_with_funcs(info, set, pool, table, NULL, NULL); } void settings_var_expand_with_funcs(const struct setting_parser_info *info,