Snippets for libetpan 1.10.1 from FreeBSD 150arm64
Sourced from https://pkg-status.freebsd.org/ampere5/data/latest-per-pkg/libetpan/1.10.1/150arm64-default.log.
-
md5.c:143:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | void MD5Init (context) | ^ -
md5.c:161:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | void MD5Update (context, input, inputLen) | ^ -
md5.c:207:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | void MD5Final (digest, context) | ^ -
md5.c:240:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | stlibtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -DLIBICONV_PLUG -isystem /usr/local/include -I/usr/include -D_REENTRANT -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -W -Wall -MT connect.lo -MD -MP -MF .deps/connect.Tpo -c connect.c -o connect.o >/dev/null 2>&1
-
md5.c:335:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | static void Encode (output, input, len) | ^ -
md5.c:355:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | static void Decode (output, input, len) | ^ -
md5.c:371:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | static void MD5_memcpy (output, input, len) | ^ -
md5.c:385:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | static void MD5_memset (output, value, len) | ^ -
md5.c:506:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | void hmac_md5(text, text_len, key, key_len, digest) | ^ -
mailstream_helper.c:553:10: warning: variable 'count' set but not used [-Wunused-but-set-variable] 553 | size_t count; | ^ -
mailstream.c:261:41: warning: unused parameter 's' [-Wunused-parameter] 261 | static void low_logger(mailstream_low * s, int log_type, | ^ -
mailstream_ssl.c:177:62: warning: unused parameter 'file' [-Wunused-parameter] 177 | static void locking_function(int mode, int n, const char * file, int line) | ^ -
mailstream_ssl.c:177:72: warning: unused parameter 'line' [-Wunused-parameter] 177 | static void locking_function(int mode, int n, const char * file, int line) | ^ -
mailstream_ssl.c:190:71: warning: unused parameter 'file' [-Wunused-parameter] 190 | static struct CRYPTO_dynlock_value *dyn_create_function(const char *file, int line) | ^ -
mailstream_ssl.c:190:81: warning: unused parameter 'line' [-Wunused-parameter] 190 | static struct CRYPTO_dynlock_value *dyn_create_function(const char *file, int line) | ^ -
mailstream_ssl.c:206:87: warning: unused parameter 'file' [-Wunused-parameter] 206 | static void dyn_lock_function(int mode, struct CRYPTO_dynlock_value *l, const char *file, int line) | ^ -
mailstream_ssl.c:206:97: warning: unused parameter 'line' [-Wunused-parameter] 206 | static void dyn_lock_function(int mode, struct CRYPTO_dynlock_value *l, const char *file, int line) | ^ -
mailstream_ssl.c:216:79: warning: unused parameter 'file' [-Wunused-parameter] 216 | static void dyn_destroy_function(struct CRYPTO_dynlock_value *l,const char *file, int line) | ^ -
mailstream_ssl.c:216:89: warning: unused parameter 'line' [-Wunused-parameter] 216 | static void dyn_destroy_function(struct CRYPTO_dynlock_value *l,const char *file, int line) | ^ -
mailstream_ssl.c:727:66: warning: unused parameter 'starttls' [-Wunused-parameter] 727 | static mailstream_low * mailstream_low_ssl_open_full(int fd, int starttls, time_t timeout, | ^ -
mailstream_ssl.c:177:15: warning: unused function 'locking_function' [-Wunused-function] 177 | static void locking_function(int mode, int n, const char * file, int line) | ^~~~~~~~~~~~~~~~ -
mailstream_ssl.c:185:24: warning: unused function 'id_function' [-Wunused-function] 185 | static unsigned long id_function(void) | ^~~~~~~~~~~ -
mailstream_ssl.c:190:39: warning: unused function 'dyn_create_function' [-Wunused-function] 190 | static struct CRYPTO_dynlock_value *dyn_create_function(const char *file, int line) | ^~~~~~~~~~~~~~~~~~~ -
mailstream_ssl.c:206:15: warning: unused function 'dyn_lock_function' [-Wunused-function] 206 | static void dyn_lock_function(int mode, struct CRYPTO_dynlock_value *l, const char *file, int line) | ^~~~~~~~~~~~~~~~~ -
mailstream_ssl.c:216:15: warning: unused function 'dyn_destroy_function' [-Wunused-function] 216 | static void dyn_destroy_function(struct CRYPTO_dynlock_value *l,const char *file, int line) | ^~~~~~~~~~~~~~~~~~~~ -
mailstream_cfstream.c:241:65: warning: unused parameter 'hostname' [-Wunused-parameter] 241 | mailstream * mailstream_cfstream_open_voip_timeout(const char * hostname, int16_t port, int voip_enabled, | ^ -
mailstream_cfstream.c:241:83: warning: unused parameter 'port' [-Wunused-parameter] 241 | mailstream * mailstream_cfstream_open_voip_timeout(const char * hostname, int16_t port, int voip_enabled, | ^ -
mailstream_cfstream.c:241:93: warning: unused parameter 'voip_enabled' [-Wunused-parameter] 241 | mailstream * mailstream_cfstream_open_voip_timeout(const char * hostname, int16_t port, int voip_enabled, | ^ -
mailstream_cfstream.c:242:10: warning: unused parameter 'timeout' [-Wunused-parameter] 242 | time_t timeout) | ^ -
mailstream_cfstream.c:502:73: warning: unused parameter 'hostname' [-Wunused-parameter] 502 | mailstream_low * mailstream_low_cfstream_open_voip_timeout(const char * hostname, int16_t port, | ^ -
mailstream_cfstream.c:502:91: warning: unused parameter 'port' [-Wunused-parameter] 502 | mailstream_low * mailstream_low_cfstream_open_voip_timeout(const char * hostname, int16_t port, | ^ -
mailstream_cfstream.c:503:7: warning: unused parameter 'voip_enabled' [-Wunused-parameter] 503 | int voip_enabled, time_t timeout) | ^ -
mailstream_cfstream.c:503:28: warning: unused parameter 'timeout' [-Wunused-parameter] 503 | int voip_enabled, time_t timeout) | ^ -
mailstream_cfstream.c:581:59: warning: unused parameter 's' [-Wunused-parameter] 581 | static int mailstream_low_cfstream_close(mailstream_low * s) | ^ -
mailstream_cfstream.c:601:59: warning: unused parameter 's' [-Wunused-parameter] 601 | static void mailstream_low_cfstream_free(mailstream_low * s) | ^ -
mailstream_cfstream.c:614:60: warning: unused parameter 's' [-Wunused-parameter] 614 | static int mailstream_low_cfstream_get_fd(mailstream_low * s) | ^ -
mailstream_cfstream.c:861:62: warning: unused parameter 's' [-Wunused-parameter] 861 | static ssize_t mailstream_low_cfstream_read(mailstream_low * s, | ^ -
mailstream_cfstream.c:862:52: warning: unused parameter 'buf' [-Wunused-parameter] 862 | void * buf, size_t count) | ^ -
mailstream_cfstream.c:862:64: warning: unused parameter 'count' [-Wunused-parameter] 862 | void * buf, size_t count) | ^ -
mailstream_cfstream.c:896:63: warning: unused parameter 's' [-Wunused-parameter] 896 | static ssize_t mailstream_low_cfstream_write(mailstream_low * s, | ^ -
mailstream_cfstream.c:897:59: warning: unused parameter 'buf' [-Wunused-parameter] 897 | const void * buf, size_t count) | ^ -
mailstream_cfstream.c:897:71: warning: unused parameter 'count' [-Wunused-parameter] 897 | const void * buf, size_t count) | ^ -
mailstream_cfstream.c:955:61: warning: unused parameter 's' [-Wunused-parameter] 955 | static void mailstream_low_cfstream_cancel(mailstream_low * s) | ^ -
mailstream_cfstream.c:975:54: warning: unused parameter 's' [-Wunused-parameter] 975 | int mailstream_cfstream_set_ssl_enabled(mailstream * s, int ssl_enabled) | ^ -
mailstream_cfstream.c:975:61: warning: unused parameter 'ssl_enabled' [-Wunused-parameter] 975 | int mailstream_cfstream_set_ssl_enabled(mailstream * s, int ssl_enabled) | ^ -
mailstream_cfstream.c:1070:53: warning: unused parameter 's' [-Wunused-parameter] 1070 | int mailstream_cfstream_is_ssl_enabled(mailstream * s) | ^ -
mailstream_cfstream.c:1081:65: warning: unused parameter 's' [-Wunused-parameter] 1081 | void mailstream_cfstream_set_ssl_verification_mask(mailstream * s, int verification_mask) | ^ -
mailstream_cfstream.c:1081:72: warning: unused parameter 'verification_mask' [-Wunused-parameter] 1081 | void mailstream_cfstream_set_ssl_verification_mask(mailstream * s, int verification_mask) | ^ -
mailstream_cfstream.c:1090:57: warning: unused parameter 's' [-Wunused-parameter] 1090 | void mailstream_cfstream_set_ssl_peer_name(mailstream * s, const char * peer_name) | ^ -
mailstream_cfstream.c:1090:73: warning: unused parameter 'peer_name' [-Wunused-parameter] 1090 | void mailstream_cfstream_set_ssl_peer_name(mailstream * s, const char * peer_name) | ^ -
mailstream_cfstream.c:1106:57: warning: unused parameter 's' [-Wunused-parameter] 1106 | void mailstream_cfstream_set_ssl_is_server(mailstream * s, int is_server) | ^ -
mailstream_cfstream.c:1106:64: warning: unused parameter 'is_server' [-Wunused-parameter] 1106 | void mailstream_cfstream_set_ssl_is_server(mailstream * s, int is_server) | ^ -
mailstream_cfstream.c:1115:53: warning: unused parameter 's' [-Wunused-parameter] 1115 | void mailstream_cfstream_set_ssl_level(mailstream * s, int ssl_level) | ^ -
mailstream_cfstream.c:1115:60: warning: unused parameter 'ssl_level' [-Wunused-parameter] 1115 | void mailstream_cfstream_set_ssl_level(mailstream * s, int ssl_level) | ^ -
mailstream_cfstream.c:1129:56: warning: unused parameter 'low' [-Wunused-parameter] 1129 | int mailstream_low_cfstream_wait_idle(mailstream_low * low, int max_idle_delay) | ^ -
mailstream_cfstream.c:1129:65: warning: unused parameter 'max_idle_delay' [-Wunused-parameter] 1129 | int mailstream_low_cfstream_wait_idle(mailstream_low * low, int max_idle_delay) | ^ -
mailstream_cfstream.c:1166:64: warning: unused parameter 's' [-Wunused-parameter] 1166 | static int mailstream_low_cfstream_setup_idle(mailstream_low * s) | ^ -
mailstream_cfstream.c:1182:66: warning: unused parameter 's' [-Wunused-parameter] 1182 | static int mailstream_low_cfstream_unsetup_idle(mailstream_low * s) | ^ -
mailstream_cfstream.c:1198:68: warning: unused parameter 's' [-Wunused-parameter] 1198 | static int mailstream_low_cfstream_interrupt_idle(mailstream_low * s) | ^ -
mailstream_cfstream.c:1233:80: warning: unused parameter 's' [-Wunused-parameter] 1233 | static carray * mailstream_low_cfstream_get_certificate_chain(mailstream_low * s) | ^ -
mailstream_cfstream.c:1221:13: warning: unused function 'mailstream_low_cfstream_certificate_chain_free' [-Wunused-function] 1221 | static void mailstream_low_cfstream_certificate_chain_free(carray * result) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_sender.c:1669:14: warning: unused parameter 'progr_rate' [-Wunused-parameter] 1669 | size_t progr_rate, | ^ -
mailimap_sender.c:1670:27: warning: unused parameter 'progr_fun' [-Wunused-parameter] 1670 | progress_function * progr_fun) | ^ -
mailimap_types.c:279:32: warning: cast from 'void (*)(struct mailimap_body_extension *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 279 | clist_foreach(body_ext_list, (clist_func) mailimap_body_extension_free, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_types.c:508:9: warning: cast from 'void (*)(char *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 508 | (clist_func) mailimap_string_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_types.c:574:3: warning: cast from 'void (*)(struct mailimap_single_body_fld_param *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 574 | (clist_func) mailimap_single_body_fld_param_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_types.c:684:3: warning: cast from 'void (*)(struct mailimap_body *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 684 | (clist_func) mailimap_body_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_types.c:815:9: warning: cast from 'void (*)(struct mailimap_capability *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 815 | (clist_func) mailimap_capability_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_types.c:954:30: warning: cast from 'void (*)(struct mailimap_address *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 954 | clist_foreach(addr_list, (clist_func) mailimap_address_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_types.c:1207:39: warning: cast from 'void (*)(struct mailimap_flag *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1207 | clist_foreach(flag_list->fl_list, (clist_func) mailimap_flag_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_types.c:1313:7: warning: cast from 'void (*)(char *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1313 | (clist_func) mailimap_header_fld_name_free, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_types.c:1385:30: warning: cast from 'void (*)(uint32_t *)' (aka 'void (*)(unsigned int *)') to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1385 | clist_foreach(data_search, (clist_func) mailimap_number_alloc_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_types.c:1395:39: warning: cast from 'void (*)(struct mailimap_status_info *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1395 | clist_foreach(info->st_info_list, (clist_func) mailimap_status_info_free, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_types.c:1534:7: warning: cast from 'void (*)(struct mailimap_mbx_list_oflag *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1534 | (clist_func) mailimap_mbx_list_oflag_free, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_types.c:1742:7: warning: cast from 'void (*)(struct mailimap_msg_att_item *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1742 | (clist_func) mailimap_msg_att_item_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_types.c:1770:9: warning: cast from 'void (*)(struct mailimap_flag_fetch *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1770 | (clist_func) mailimap_flag_fetch_free, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_types.c:2053:9: warning: cast from 'void (*)(struct mailimap_cont_req_or_resp_data *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 2053 | (clist_func) mailimap_cont_req_or_resp_data_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_types.c:2391:11: warning: cast from 'void (*)(char *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 2391 | (clist_func) mailimap_astring_free, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_types.c:2403:11: warning: cast from 'void (*)(struct mailimap_flag_perm *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 2403 | (clist_func) mailimap_flag_perm_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_types.c:2494:7: warning: cast from 'void (*)(uint32_t *)' (aka 'void (*)(unsigned int *)') to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 2494 | (clist_func) mailimap_number_alloc_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_types.c:2680:32: warning: cast from 'void (*)(struct mailimap_set_item *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 2680 | clist_foreach(set->set_list, (clist_func) mailimap_set_item_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_types.c:2777:9: warning: cast from 'void (*)(struct mailimap_fetch_att *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 2777 | (clist_func) mailimap_fetch_att_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_types.c:3031:9: warning: cast from 'void (*)(struct mailimap_search_key *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 3031 | (clist_func) mailimap_search_key_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_types.c:3069:44: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 3069 | clist_foreach(status_att_list->att_list, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
mailimap_types.c:3111:9: warning: cast from 'void (*)(struct mailimap_flag_perm *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 3111 | (clist_func) mailimap_flag_perm_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_types.c:3213:9: warning: cast from 'void (*)(char *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 3213 | (clist_func) mailimap_astring_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_types.c:3218:9: warning: cast from 'void (*)(struct mailimap_mailbox_list *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 3218 | (clist_func) mailimap_mailbox_list_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_types.c:3223:7: warning: cast from 'void (*)(struct mailimap_extension_data *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 3223 | (clist_func) mailimap_extension_data_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_types.c:3228:9: warning: cast from 'void (*)(struct mailimap_mailbox_list *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 3228 | (clist_func) mailimap_mailbox_list_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_types.c:3237:6: warning: cast from 'void (*)(uint32_t *)' (aka 'void (*)(unsigned int *)') to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 3237 | (clist_func) mailimap_number_alloc_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_types.c:3242:5: warning: cast from 'void (*)(struct mailimap_msg_att *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 3242 | (clist_func) mailimap_msg_att_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_types_helper.c:1347:26: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1347 | clist_foreach(id_list, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
mailimap_keywords.c:87:38: warning: unused parameter 'fd' [-Wunused-parameter] 87 | int mailimap_char_parse(mailstream * fd, MMAPString * buffer, | ^ -
mailimap_keywords.c:103:39: warning: unused parameter 'fd' [-Wunused-parameter] 103 | int mailimap_space_parse(mailstream * fd, MMAPString * buffer, | ^ -
mailimap_parser.c:776:112: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 776 | static int mailimap_unstrict_char_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ^ -
mailimap_parser.c:881:98: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 881 | int mailimap_dquote_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ^ -
mailimap_parser.c:984:30: warning: cast from 'mailimap_struct_destructor *' (aka 'void (*)(void *)') to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 984 | clist_foreach(struct_list, (clist_func) destructor, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_parser.c:1049:30: warning: cast from 'mailimap_struct_destructor *' (aka 'void (*)(void *)') to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1049 | clist_foreach(struct_list, (clist_func) destructor, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_parser.c:1137:30: warning: cast from 'mailimap_struct_destructor *' (aka 'void (*)(void *)') to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1137 | clist_foreach(struct_list, (clist_func) destructor, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_parser.c:1218:30: warning: cast from 'mailimap_struct_destructor *' (aka 'void (*)(void *)') to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1218 | clist_foreach(struct_list, (clist_func) destructor, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_parser.c:1259:101: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 1259 | mailimap_custom_string_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ^ -
mailimap_parser.c:1315:18: warning: unused parameter 'progr_rate' [-Wunused-parameter] 1315 | size_t progr_rate, | ^ -
mailimap_parser.c:1316:31: warning: unused parameter 'progr_fun' [-Wunused-parameter] 1316 | progress_function * progr_fun) | ^ -
mailimap_parser.c:1368:46: warning: unused parameter 'fd' [-Wunused-parameter] 1368 | static int mailimap_digit_parse(mailstream * fd, MMAPString * buffer, | ^ -
mailimap_parser.c:1585:15: warning: unused parameter 'progr_rate' [-Wunused-parameter] 1585 | size_t progr_rate, | ^ -
mailimap_parser.c:1586:28: warning: unused parameter 'progr_fun' [-Wunused-parameter] 1586 | progress_function * progr_fun) | ^ -
mailimap_parser.c:1650:11: warning: unused parameter 'progr_rate' [-Wunused-parameter] 1650 | size_t progr_rate, | ^ -
mailimap_parser.c:1651:24: warning: unused parameter 'progr_fun' [-Wunused-parameter] 1651 | progress_function * progr_fun) | ^ -
mailimap_parser.c:1726:47: warning: unused parameter 'fd' [-Wunused-parameter] 1726 | static int mailimap_base64_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ^ -
mailimap_parser.c:1726:105: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 1726 | static int mailimap_base64_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ^ -
mailimap_parser.c:1728:13: warning: unused parameter 'progr_rate' [-Wunused-parameter] 1728 | size_t progr_rate, | ^ -
mailimap_parser.c:1729:26: warning: unused parameter 'progr_fun' [-Wunused-parameter] 1729 | progress_function * progr_fun) | ^ -
mailimap_parser.c:1938:23: warning: cast from 'void (*)(struct mailimap_body_extension *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1938 | clist_foreach(list, (clist_func) mailimap_body_extension_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_parser.c:2022:5: warning: cast from 'void (*)(struct mailimap_body_extension *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 2022 | (clist_func) mailimap_body_extension_free, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_parser.c:2264:34: warning: cast from 'void (*)(struct mailimap_body_extension *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 2264 | clist_foreach(body_ext_list, (clist_func) mailimap_body_extension_free, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_parser.c:2345:34: warning: cast from 'void (*)(struct mailimap_body_extension *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 2345 | clist_foreach(body_ext_list, (clist_func) mailimap_body_extension_free, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_parser.c:2621:12: warning: unused parameter 'progr_rate' [-Wunused-parameter] 2621 | size_t progr_rate, | ^ -
mailimap_parser.c:2622:25: warning: unused parameter 'progr_fun' [-Wunused-parameter] 2622 | progress_function * progr_fun) | ^ -
mailimap_parser.c:2830:23: warning: cast from 'void (*)(char *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 2830 | clist_foreach(list, (clist_func) mailimap_string_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_parser.c:2906:61: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 2906 | MMAPString * buffer, struct mailimap_parser_context * parser_ctx, size_t * indx, | ^ -
mailimap_parser.c:3111:70: warning: unused parameter 'value' [-Wunused-parameter] 3111 | static void mailimap_broken_single_body_fld_param_string_free(char * value) | ^ -
mailimap_parser.c:3224:21: warning: cast from 'void (*)(struct mailimap_single_body_fld_param *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 3224 | (clist_func) mailimap_single_body_fld_param_free, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_parser.c:3276:19: warning: cast from 'void (*)(struct mailimap_single_body_fld_param *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 3276 | (clist_func) mailimap_single_body_fld_param_free, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_parser.c:3579:28: warning: cast from 'void (*)(struct mailimap_body *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 3579 | clist_foreach(body_list, (clist_func) mailimap_body_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_parser.c:4008:29: warning: cast from 'void (*)(struct mailimap_capability *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 4008 | clist_foreach(cap_list, (clist_func) mailimap_capability_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_parser.c:4290:109: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 4290 | static int mailimap_date_month_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ^ -
mailimap_parser.c:4377:108: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 4377 | static int mailimap_date_year_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ^ -
mailimap_parser.c:4470:53: warning: unused parameter 'progr_rate' [-Wunused-parameter] 4470 | size_t progr_rate, | ^ -
mailimap_parser.c:4471:66: warning: unused parameter 'progr_fun' [-Wunused-parameter] 4471 | progress_function * progr_fun) | ^ -
mailimap_parser.c:4997:27: warning: cast from 'void (*)(struct mailimap_address *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 4997 | clist_foreach(list, (clist_func) mailimap_address_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_parser.c:5139:33: warning: cast from 'void (*)(struct mailimap_address *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 5139 | clist_foreach(address_list, (clist_func) mailimap_address_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_parser.c:5184:23: warning: cast from 'void (*)(struct mailimap_address *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 5184 | clist_foreach(list, (clist_func) mailimap_address_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_parser.c:5228:23: warning: cast from 'void (*)(struct mailimap_address *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 5228 | clist_foreach(list, (clist_func) mailimap_address_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_parser.c:5285:23: warning: cast from 'void (*)(struct mailimap_address *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 5285 | clist_foreach(list, (clist_func) mailimap_address_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_parser.c:5358:23: warning: cast from 'void (*)(struct mailimap_address *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 5358 | clist_foreach(list, (clist_func) mailimap_address_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_parser.c:5403:23: warning: cast from 'void (*)(struct mailimap_address *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 5403 | clist_foreach(list, (clist_func) mailimap_address_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_parser.c:5462:23: warning: cast from 'void (*)(struct mailimap_address *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 5462 | clist_foreach(list, (clist_func) mailimap_address_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_parser.c:5744:25: warning: cast from 'void (*)(struct mailimap_flag *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 5744 | clist_foreach(list, (clist_func) mailimap_flag_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_parser.c:5961:23: warning: cast from 'void (*)(char *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 5961 | clist_foreach(list, (clist_func) mailimap_header_fld_name_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_parser.c:6007:68: warning: unused parameter 'items_progr_fun' [-Wunused-parameter] 6007 | mailprogress_function * items_progr_fun, | ^ -
mailimap_parser.c:6009:71: warning: unused parameter 'msg_att_handler' [-Wunused-parameter] 6009 | mailimap_msg_att_handler * msg_att_handler, | ^ -
mailimap_parser.c:6010:51: warning: unused parameter 'msg_att_context' [-Wunused-parameter] 6010 | void * msg_att_context) | ^ -
mailimap_parser.c:6186:37: warning: comparison of integers of different signs: 'long' and 'size_t' (aka 'unsigned long') [-Wsign-compare] 6186 | if (search_end - search_beg >= tag_response_end_len && | ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~ -
mailimap_parser.c:6687:37: warning: cast from 'void (*)(struct mailimap_status_info *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 6687 | clist_foreach(status_info_list, (clist_func) mailimap_status_info_free, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_parser.c:6702:107: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 6702 | mailimap_mailbox_data_exists_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ^ -
mailimap_parser.c:6735:107: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 6735 | mailimap_mailbox_data_recent_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ^ -
mailimap_parser.c:7149:25: warning: cast from 'void (*)(struct mailimap_mbx_list_oflag *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 7149 | clist_foreach(oflags, (clist_func) mailimap_mbx_list_oflag_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_parser.c:7248:102: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 7248 | mailimap_mbx_list_sflag_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ^ -
mailimap_parser.c:7816:23: warning: cast from 'void (*)(struct mailimap_msg_att_item *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 7816 | clist_foreach(list, (clist_func) mailimap_msg_att_item_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_parser.c:7894:25: warning: cast from 'void (*)(struct mailimap_flag_fetch *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 7894 | clist_foreach(list, (clist_func) mailimap_flag_fetch_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_parser.c:8147:107: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 8147 | mailimap_msg_att_rfc822_size_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ^ -
mailimap_parser.c:8579:95: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 8579 | int mailimap_nil_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ^ -
mailimap_parser.c:8699:97: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 8699 | mailimap_nz_number_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ^ -
mailimap_parser.c:8762:16: warning: unused parameter 'progr_rate' [-Wunused-parameter] 8762 | size_t progr_rate, | ^ -
mailimap_parser.c:8763:29: warning: unused parameter 'progr_fun' [-Wunused-parameter] 8763 | progress_function * progr_fun) | ^ -
mailimap_parser.c:8917:45: warning: unused parameter 'fd' [-Wunused-parameter] 8917 | mailimap_quoted_specials_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ^ -
mailimap_parser.c:8917:103: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 8917 | mailimap_quoted_specials_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ^ -
mailimap_parser.c:9152:19: warning: cast from 'void (*)(struct mailimap_cont_req_or_resp_data *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 9152 | (clist_func) mailimap_cont_req_or_resp_data_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_parser.c:9862:104: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 9862 | mailimap_resp_text_code_1_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ^ -
mailimap_parser.c:9941:26: warning: cast from 'void (*)(char *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 9941 | clist_foreach(charset, (clist_func) mailimap_string_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_parser.c:10047:29: warning: cast from 'void (*)(struct mailimap_flag_perm *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch]
-
mailimap_parser.c:10065:17: warning: unused parameter 'progr_rate' [-Wunused-parameter]
-
mailimap_parser.c:10066:30: warning: unused parameter 'progr_fun' [-Wunused-parameter]
-
mailimap_parser.c:10138:18: warning: unused parameter 'progr_rate' [-Wunused-parameter]
-
mailimap_parser.c:10139:31: warning: unused parameter 'progr_fun' [-Wunused-parameter]
-
mailimap_parser.c:10353:5: warning: cast from 'void (*)(struct mailimap_flag_perm *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch]
-
mailimap_parser.c:10359:31: warning: cast from 'void (*)(char *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch]
-
mailimap_parser.c:10565:29: warning: cast from 'void (*)(uint32_t *)' (aka 'void (*)(unsigned int *)') to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch]
-
mailimap_parser.c:10767:102: warning: unused parameter 'parser_ctx' [-Wunused-parameter]
-
mailimap_parser.c:10882:17: warning: unused parameter 'progr_rate' [-Wunused-parameter]
-
mailimap_parser.c:10883:30: warning: unused parameter 'progr_fun' [-Wunused-parameter]
-
mailimap_parser.c:10908:18: warning: unused parameter 'progr_rate' [-Wunused-parameter]
-
mailimap_parser.c:10909:31: warning: unused parameter 'progr_fun' [-Wunused-parameter]
-
mailimap_parser.c:10937:105: warning: unused parameter 'parser_ctx' [-Wunused-parameter]
-
mailimap_parser.c:11120:98: warning: unused parameter 'parser_ctx' [-Wunused-parameter]
-
mailimap_parser.c:11221:10: warning: unused parameter 'progr_rate' [-Wunused-parameter]
-
mailimap_parser.c:11222:23: warning: unused parameter 'progr_fun' [-Wunused-parameter]
-
mailimap_parser.c:11279:30: warning: cast from 'void (*)(struct mailimap_set_item *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch]
-
mailimap.c:152:15: warning: cast from 'void (*)(char *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 152 | (clist_func) mailimap_astring_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap.c:184:15: warning: cast from 'void (*)(struct mailimap_flag_perm *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 184 | (clist_func) mailimap_flag_perm_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap.c:872:23: warning: cast from 'void (*)(struct mailimap_capability *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 872 | clist_foreach(list, (clist_func) mailimap_capability_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap.c:1472:29: warning: cast from 'void (*)(struct mailimap_msg_att *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1472 | clist_foreach(fetch_list, (clist_func) mailimap_msg_att_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap.c:1700:41: warning: unused parameter 'conn' [-Wunused-parameter] 1700 | static int sasl_getsecret(sasl_conn_t * conn, void * context, int id, | ^ -
mailimap.c:1718:19: warning: unused parameter 'availrealms' [-Wunused-parameter] 1718 | const char ** availrealms, | ^ -
mailimap.c:1763:28: warning: cast from 'int (*)(void *, int, const char **, const char **)' to 'int (*)(void)' converts to incompatible function type [-Wcast-function-type-mismatch] 1763 | sasl_callback[0].proc = (int(*)(void)) sasl_getrealm; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap.c:1766:28: warning: cast from 'int (*)(void *, int, const char **, unsigned int *)' to 'int (*)(void)' converts to incompatible function type [-Wcast-function-type-mismatch] 1766 | sasl_callback[1].proc = (int(*)(void)) sasl_getsimple; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap.c:1769:28: warning: cast from 'int (*)(void *, int, const char **, unsigned int *)' to 'int (*)(void)' converts to incompatible function type [-Wcast-function-type-mismatch] 1769 | sasl_callback[2].proc = (int(*)(void)) sasl_getsimple; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap.c:1772:28: warning: cast from 'int (*)(sasl_conn_t *, void *, int, sasl_secret_t **)' (aka 'int (*)(struct sasl_conn *, void *, int, struct sasl_secret **)') to 'int (*)(void)' converts to incompatible function type [-Wcast-function-type-mismatch] 1772 | sasl_callback[3].proc = (int(*)(void)) sasl_getsecret; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap.c:2049:23: warning: cast from 'void (*)(struct mailimap_mailbox_list *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 2049 | clist_foreach(list, (clist_func) mailimap_mailbox_list_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap.c:2131:32: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 2131 | clist_foreach(search_result, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
mailimap.c:2795:45: warning: unused parameter 's' [-Wunused-parameter] 2795 | static inline void imap_logger(mailstream * s, int log_type, | ^ -
mailimap_socket.c:65:88: warning: unused parameter 'voip_enabled' [-Wunused-parameter] 65 | int mailimap_socket_connect_voip(mailimap * f, const char * server, uint16_t port, int voip_enabled) | ^ -
mailimap_ssl.c:70:99: warning: unused parameter 'voip_enabled' [-Wunused-parameter] 70 | int mailimap_ssl_connect_voip_with_callback(mailimap * f, const char * server, uint16_t port, int voip_enabled, | ^ -
annotatemore.c:117:9: warning: cast from 'void (*)(struct mailimap_extension_data *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 117 | (clist_func) mailimap_extension_data_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
annotatemore_parser.c:190:7: warning: cast from 'void (*)(struct mailimap_annotatemore_entry_att *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 190 | (clist_func) mailimap_annotatemore_entry_att_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
annotatemore_parser.c:196:7: warning: cast from 'void (*)(char *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 196 | (clist_func) mailimap_annotatemore_entry_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
annotatemore_parser.c:270:5: warning: cast from 'void (*)(struct mailimap_annotatemore_att_value *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 270 | (clist_func) mailimap_annotatemore_att_value_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
annotatemore_parser.c:364:68: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 364 | MMAPString *buffer, struct mailimap_parser_context * parser_ctx, size_t * indx, int * result, | ^ -
annotatemore_parser.c:365:22: warning: unused parameter 'progr_rate' [-Wunused-parameter] 365 | size_t progr_rate, progress_function * progr_fun) | ^ -
annotatemore_parser.c:365:54: warning: unused parameter 'progr_fun' [-Wunused-parameter] 365 | size_t progr_rate, progress_function * progr_fun) | ^ -
annotatemore_types.c:109:9: warning: cast from 'void (*)(struct mailimap_annotatemore_att_value *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 109 | (clist_func) mailimap_annotatemore_att_value_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
annotatemore_types.c:192:9: warning: cast from 'void (*)(struct mailimap_annotatemore_entry_att *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 192 | (clist_func) mailimap_annotatemore_entry_att_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
annotatemore_types.c:198:9: warning: cast from 'void (*)(char *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 198 | (clist_func) mailimap_annotatemore_entry_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
annotatemore_types.c:253:44: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 253 | clist_foreach(en_list->entry_match_list, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
annotatemore_types.c:276:45: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 276 | clist_foreach(at_list->attrib_match_list, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
annotatemore_types.c:366:7: warning: cast from 'void (*)(struct mailimap_annotatemore_entry_att *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 366 | (clist_func) mailimap_annotatemore_entry_att_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
acl.c:208:9: warning: cast from 'void (*)(struct mailimap_extension_data *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 208 | (clist_func) mailimap_extension_data_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
acl.c:281:9: warning: cast from 'void (*)(struct mailimap_extension_data *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 281 | (clist_func) mailimap_extension_data_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
acl.c:358:9: warning: cast from 'void (*)(struct mailimap_extension_data *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 358 | (clist_func) mailimap_extension_data_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
acl_parser.c:114:7: warning: cast from 'void (*)(struct mailimap_acl_identifier_rights *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 114 | (clist_func) mailimap_acl_identifier_rights_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
acl_parser.c:209:7: warning: cast from 'void (*)(char *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 209 | (clist_func) mailimap_acl_rights_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
acl_types.c:98:5: warning: cast from 'void (*)(struct mailimap_acl_identifier_rights *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 98 | (clist_func) mailimap_acl_identifier_rights_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
acl_types.c:127:5: warning: cast from 'void (*)(char *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 127 | (clist_func) mailimap_acl_rights_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
uidplus_parser.c:52:12: warning: unused parameter 'progr_rate' [-Wunused-parameter] 52 | size_t progr_rate, | ^ -
uidplus_parser.c:53:25: warning: unused parameter 'progr_fun' [-Wunused-parameter] 53 | progress_function * progr_fun) | ^ -
uidplus_parser.c:68:12: warning: unused parameter 'progr_rate' [-Wunused-parameter] 68 | size_t progr_rate, | ^ -
uidplus_parser.c:69:25: warning: unused parameter 'progr_fun' [-Wunused-parameter] 69 | progress_function * progr_fun) | ^ -
uidplus_parser.c:336:119: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 336 | static int mailimap_uidplus_uidnotsticky_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ^ -
idle.c:122:4: warning: cast from 'void (*)(struct mailimap_response_data *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 122 | (clist_func) mailimap_response_data_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
quota.c:107:3: warning: cast from 'void (*)(struct mailimap_quota_quota_data *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 107 | (clist_func) &mailimap_quota_quota_data_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
quota.c:112:5: warning: cast from 'void (*)(struct mailimap_extension_data *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 112 | (clist_func) mailimap_extension_data_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
quota.c:131:9: warning: cast from 'void (*)(struct mailimap_extension_data *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 131 | (clist_func) mailimap_extension_data_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
quota.c:141:2: warning: cast from 'void (*)(struct mailimap_quota_quota_data *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 141 | (clist_func) &mailimap_quota_quota_data_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
quota.c:149:2: warning: cast from 'void (*)(struct mailimap_quota_quota_data *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 149 | (clist_func) &mailimap_quota_quota_data_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
quota_parser.c:147:7: warning: cast from 'void (*)(struct mailimap_quota_quota_resource *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 147 | (clist_func) &mailimap_quota_quota_resource_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
quota_parser.c:156:12: warning: unused parameter 'progr_rate' [-Wunused-parameter] 156 | size_t progr_rate, progress_function * progr_fun) | ^ -
quota_parser.c:156:44: warning: unused parameter 'progr_fun' [-Wunused-parameter] 156 | size_t progr_rate, progress_function * progr_fun) | ^ -
quota_parser.c:262:7: warning: cast from 'void (*)(struct mailimap_quota_quota_resource *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 262 | (clist_func) &mailimap_quota_quota_resource_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
quota_parser.c:348:7: warning: cast from 'void (*)(char *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 348 | (clist_func) &mailimap_astring_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
quota_types.c:91:7: warning: cast from 'void (*)(struct mailimap_quota_quota_resource *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 91 | (clist_func) &mailimap_quota_quota_resource_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
quota_types.c:118:7: warning: cast from 'void (*)(char *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 118 | (clist_func) &mailimap_astring_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
quota_types.c:147:7: warning: cast from 'void (*)(struct mailimap_quota_quota_data *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 147 | (clist_func) &mailimap_quota_quota_data_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
namespace.c:106:17: warning: cast from 'void (*)(struct mailimap_extension_data *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 106 | (clist_func) mailimap_extension_data_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
xgmlabels.c:84:34: warning: cast from 'void (*)(char *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 84 | clist_foreach(att->att_labels, (clist_func) mailimap_astring_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
xgmlabels.c:181:25: warning: cast from 'void (*)(char *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 181 | clist_foreach(list, (clist_func) mailimap_astring_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
xgmlabels.c:213:31: warning: cast from 'void (*)(char *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 213 | clist_foreach(label_list, (clist_func) mailimap_astring_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
xgmlabels.c:228:43: warning: unused parameter 'progr_rate' [-Wunused-parameter] 228 | size_t progr_rate, progress_function * progr_fun) | ^ -
xgmlabels.c:228:75: warning: unused parameter 'progr_fun' [-Wunused-parameter] 228 | size_t progr_rate, progress_function * progr_fun) | ^ -
xgmmsgid.c:68:65: warning: unused parameter 'progr_rate' [-Wunused-parameter] 68 | uint64_t * result, size_t progr_rate, progress_function * progr_fun) | ^ -
xgmmsgid.c:68:97: warning: unused parameter 'progr_fun' [-Wunused-parameter] 68 | uint64_t * result, size_t progr_rate, progress_function * progr_fun) | ^ -
xgmthrid.c:68:65: warning: unused parameter 'progr_rate' [-Wunused-parameter] 68 | uint64_t * result, size_t progr_rate, progress_function * progr_fun) | ^ -
xgmthrid.c:68:97: warning: unused parameter 'progr_fun' [-Wunused-parameter] 68 | uint64_t * result, size_t progr_rate, progress_function * progr_fun) | ^ -
xgmthrid.c:97:90: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 97 | MMAPString * buffer, struct mailimap_parser_context * parser_ctx, size_t * indx, | ^ -
mailimap_id_types.c:54:34: warning: cast from 'void (*)(struct mailimap_id_param *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 54 | clist_foreach(list->idpa_list, (clist_func) mailimap_id_param_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_id_parser.c:51:12: warning: unused parameter 'progr_rate' [-Wunused-parameter] 51 | size_t progr_rate, | ^ -
mailimap_id_parser.c:52:25: warning: unused parameter 'progr_fun' [-Wunused-parameter] 52 | progress_function * progr_fun) | ^ -
mailimap_id_parser.c:103:15: warning: unused parameter 'progr_rate' [-Wunused-parameter] 103 | size_t progr_rate, | ^ -
mailimap_id_parser.c:104:28: warning: unused parameter 'progr_fun' [-Wunused-parameter] 104 | progress_function * progr_fun) | ^ -
mailimap_id_parser.c:178:26: warning: cast from 'void (*)(struct mailimap_id_param *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 178 | clist_foreach(items, (clist_func) mailimap_id_param_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
enable.c:265:29: warning: cast from 'void (*)(struct mailimap_capability *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 265 | clist_foreach(cap_list, (clist_func) mailimap_capability_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
condstore.c:835:30: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 835 | clist_foreach(number_list, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
condstore.c:880:9: warning: unused parameter 'progr_rate' [-Wunused-parameter] 880 | size_t progr_rate, progress_function * progr_fun) | ^ -
condstore.c:880:41: warning: unused parameter 'progr_fun' [-Wunused-parameter] 880 | size_t progr_rate, progress_function * progr_fun) | ^ -
condstore_types.c:115:50: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 115 | clist_foreach(search_data->cs_search_result, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
qresync.c:552:9: warning: unused parameter 'progr_rate' [-Wunused-parameter] 552 | size_t progr_rate, progress_function * progr_fun) | ^ -
qresync.c:552:41: warning: unused parameter 'progr_fun' [-Wunused-parameter] 552 | size_t progr_rate, progress_function * progr_fun) | ^ -
qresync.c:601:57: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 601 | MMAPString * buffer, struct mailimap_parser_context * parser_ctx, size_t * indx, | ^ -
mailimap_sort.c:133:17: warning: cast from 'void (*)(struct mailimap_extension_data *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 133 | (clist_func) mailimap_extension_data_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_sort.c:211:17: warning: cast from 'void (*)(struct mailimap_extension_data *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 211 | (clist_func) mailimap_extension_data_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_sort.c:239:32: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 239 | clist_foreach(search_result, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
mailimap_sort.c:396:85: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 396 | MMAPString * buffer, struct mailimap_parser_context * parser_ctx, size_t * indx, | ^ -
mailimap_sort_types.c:73:19: warning: cast from 'void (*)(struct mailimap_sort_key *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 73 | (clist_func) mailimap_sort_key_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimf_types.c:229:35: warning: cast from 'void (*)(struct mailimf_mailbox *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 229 | clist_foreach(mb_list->mb_list, (clist_func) mailimf_mailbox_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimf_types.c:253:37: warning: cast from 'void (*)(struct mailimf_address *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 253 | clist_foreach(addr_list->ad_list, (clist_func) mailimf_address_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimf_types.c:527:37: warning: cast from 'void (*)(struct mailimf_field *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 527 | clist_foreach(fields->fld_list, (clist_func) mailimf_field_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimf_types.c:731:3: warning: cast from 'void (*)(char *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 731 | (clist_func) mailimf_msg_id_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimf_types.c:754:7: warning: cast from 'void (*)(char *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 754 | (clist_func) mailimf_msg_id_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimf_types.c:848:36: warning: cast from 'void (*)(char *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 848 | clist_foreach(keywords->kw_list, (clist_func) mailimf_phrase_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimf.c:601:30: warning: cast from 'mailimf_struct_destructor *' (aka 'int (*)(void *)') to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 601 | clist_foreach(struct_list, (clist_func) destructor, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ -
mailimf.c:684:30: warning: cast from 'mailimf_struct_destructor *' (aka 'int (*)(void *)') to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 684 | clist_foreach(struct_list, (clist_func) destructor, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ -
mailimf.c:3199:5: warning: cast from 'void (*)(struct mailimf_mailbox *)' to 'mailimf_struct_destructor *' (aka 'int (*)(void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 3199 | (mailimf_struct_destructor *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3200 | mailimf_mailbox_free); | ~~~~~~~~~~~~~~~~~~~~ -
mailimf.c:3218:23: warning: cast from 'void (*)(struct mailimf_mailbox *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 3218 | clist_foreach(list, (clist_func) mailimf_mailbox_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimf.c:3247:5: warning: cast from 'void (*)(struct mailimf_address *)' to 'mailimf_struct_destructor *' (aka 'int (*)(void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 3247 | (mailimf_struct_destructor *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3248 | mailimf_address_free); | ~~~~~~~~~~~~~~~~~~~~ -
mailimf.c:3266:23: warning: cast from 'void (*)(struct mailimf_address *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 3266 | clist_foreach(list, (clist_func) mailimf_address_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimf.c:4838:9: warning: cast from 'void (*)(struct mailimf_field *)' to 'mailimf_struct_destructor *' (aka 'int (*)(void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 4838 | (mailimf_struct_destructor *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4839 | mailimf_field_free); | ~~~~~~~~~~~~~~~~~~ -
mailimf.c:4878:25: warning: cast from 'void (*)(struct mailimf_field *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 4878 | clist_foreach(list, (clist_func) mailimf_field_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimf.c:5378:12: warning: cast from 'void (*)(char *)' to 'mailimf_struct_destructor *' (aka 'int (*)(void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 5378 | (mailimf_struct_destructor *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5379 | mailimf_msg_id_free); | ~~~~~~~~~~~~~~~~~~~ -
mailimf.c:5431:30: warning: cast from 'void (*)(char *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 5431 | clist_foreach(msg_id_list, (clist_func) mailimf_msg_id_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimf.c:5491:30: warning: cast from 'void (*)(char *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 5491 | clist_foreach(msg_id_list, (clist_func) mailimf_msg_id_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimf.c:6143:5: warning: cast from 'void (*)(char *)' to 'mailimf_struct_destructor *' (aka 'int (*)(void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 6143 | (mailimf_struct_destructor *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6144 | mailimf_phrase_free); | ~~~~~~~~~~~~~~~~~~~ -
mailimf.c:6168:23: warning: cast from 'void (*)(char *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 6168 | clist_foreach(list, (clist_func) mailimf_phrase_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimf.c:7649:25: warning: cast from 'void (*)(struct mailimf_field *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 7649 | clist_foreach(list, (clist_func) mailimf_field_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimf.c:7718:9: warning: cast from 'void (*)(struct mailimf_field *)' to 'mailimf_struct_destructor *' (aka 'int (*)(void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 7718 | (mailimf_struct_destructor *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7719 | mailimf_field_free); | ~~~~~~~~~~~~~~~~~~ -
mailimf.c:7751:25: warning: cast from 'void (*)(struct mailimf_field *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 7751 | clist_foreach(list, (clist_func) mailimf_field_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimf.c:7815:9: warning: cast from 'void (*)(struct mailimf_field *)' to 'mailimf_struct_destructor *' (aka 'int (*)(void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 7815 | (mailimf_struct_destructor *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7816 | mailimf_field_free); | ~~~~~~~~~~~~~~~~~~ -
mailimf.c:7848:25: warning: cast from 'void (*)(struct mailimf_field *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 7848 | clist_foreach(list, (clist_func) mailimf_field_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimf.c:3707:19: warning: unused function 'is_dtext' [-Wunused-function] 3707 | static inline int is_dtext(char ch) | ^~~~~~~~ -
mailmbox.c:1156:52: warning: unused parameter 'dest_filename' [-Wunused-parameter] 1156 | static int mailmbox_expunge_to_file_no_lock(char * dest_filename, int dest_fd, | ^ -
mailmime_types.c:100:5: warning: cast from 'void (*)(struct mailmime_parameter *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 100 | (clist_func) mailmime_parameter_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailmime.c:304:34: warning: cast from 'void (*)(struct mailmime_parameter *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 304 | clist_foreach(parameters_list, (clist_func) mailmime_parameter_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailmime_content.c:1088:23: warning: cast from 'void (*)(struct mailmime *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1088 | clist_foreach(list, (clist_func) mailmime_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailmime_types.c:338:7: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 338 | break; | ^ -
mailmime_types.c:359:35: warning: cast from 'void (*)(struct mailmime_field *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 359 | clist_foreach(fields->fld_list, (clist_func) mailmime_field_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailmime_types.c:403:35: warning: cast from 'void (*)(struct mailimf_body *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 403 | clist_foreach(mp_bodymailmime.c:->bd_list, (clist_func) mailim972:23:f_ warning: body_free, NULL)cast from 'void (*)(struct mailmime_field *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch]
-
mailmime_content.c:1509:25: warning: cast from 'void (*)(struct mailmime *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1509 | clist_foreach(list, (clist_func) mailmime_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailmime_types.c:491:9: warning: cast from 'void (*)(struct mailmime *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 491 | (clist_func) mailmime_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailmime.c:1470:23: warning: cast from 'void (*)(char *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1470 | clist_foreach(list, (clist_func) mailimf_atom_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailmime_types.c:570:7: warning: cast from 'void (*)(struct mailmime_disposition_parm *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 570 | (clist_func) mailmime_disposition_parm_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailmime_types.c:705:36: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 705 | clist_foreach(section->sec_list, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
mailmime_types.c:727:32: warning: cast from 'void (*)(char *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 727 | clist_foreach(lang->lg_list, (clist_func) mailimf_atom_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailmime_disposition.c:161:23: warning: cast from 'void (*)(struct mailmime_disposition_parm *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 161 | clist_foreach(list, (clist_func) mailmime_disposition_parm_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailmime_types_helper.c:243:35: warning: cast from 'void (*)(struct mailmime_field *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 243 | clist_foreach(fields->fld_list, (clist_func) mailmime_field_detach, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailmime_types_helper.c:280:35: warning: cast from 'void (*)(struct mailmime_field *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 280 | clist_foreach(fields->fld_list, (clist_func) mailmime_field_detach, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailmime_types_helper.c:1194:23: warning: cast from 'void (*)(struct mailmime_disposition_parm *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1194 | clist_foreach(list, (clist_func) mailmime_disposition_parm_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
newsnntp.c:431:20: warning: cast from 'void (*)(struct newsnntp_group_info *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 431 | clist_foreach(l, (clist_func) group_info_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
newsnntp.c:678:20: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 678 | clist_foreach(l, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
newsnntp.c:817:20: warning: cast from 'void (*)(struct newsnntp_group_time *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 817 | clist_foreach(l, (clist_func) group_time_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
newsnntp.c:919:20: warning: cast from 'void (*)(struct newsnntp_distrib_value_meaning *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 919 | clist_foreach(l, (clist_func) distrib_value_meaning_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
newsnntp.c:1019:20: warning: cast from 'void (*)(struct newsnntp_distrib_default_value *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1019 | clist_foreach(l, (clist_func) distrib_default_value_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
newsnntp.c:1115:20: warning: cast from 'void (*)(struct newsnntp_group_description *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1115 | clist_foreach(l, (clist_func) group_description_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
newsnntp.c:1182:20: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1182 | clist_foreach(l, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
newsnntp.c:1244:20: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1244 | clist_foreach(l, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
newsnntp.c:1431:20: warning: cast from 'void (*)(struct newsnntp_xhdr_resp_item *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1431 | clist_foreach(l, (clist_func) xhdr_resp_item_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
newsnntp.c:1605:32: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1605 | clist_foreach(n->ovr_others, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
newsnntp.c:1613:20: warning: cast from 'void (*)(struct newsnntp_xover_resp_item *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1613 | clist_foreach(l, (clist_func) xover_resp_item_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
newsnntp.c:2487:24: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 2487 | clist_foreach(others, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
newsnntp.c:2505:29: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 2505 | clist_foreach(others, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
newsnntp.c:2525:30: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 2525 | clist_foreach(values_list, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
newsnntp.c:2551:45: warning: unused parameter 's' [-Wunused-parameter] 2551 | static inline void nntp_logger(mailstream * s, int log_type, | ^ -
mailpop3.c:192:34: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 192 | clist_foreach(capa->cap_param, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
mailpop3.c:941:28: warning: cast from 'void (*)(struct mailpop3_capa *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 941 | clist_foreach(capa_list, (clist_func) mailpop3_capa_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailpop3.c:1318:29: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1318 | clist_foreach(param_list, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
mailpop3.c:1323:23: warning: cast from 'void (*)(struct mailpop3_capa *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1323 | clist_foreach(list, (clist_func) mailpop3_capa_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailpop3.c:1451:41: warning: unused parameter 'conn' [-Wunused-parameter] 1451 | static int sasl_getsecret(sasl_conn_t * conn, void * context, int id, | ^ -
mailpop3.c:1469:19: warning: unused parameter 'availrealms' [-Wunused-parameter] 1469 | const char ** availrealms, | ^ -
mailpop3.c:1509:28: warning: cast from 'int (*)(void *, int, const char **, const char **)' to 'int (*)(void)' converts to incompatible function type [-Wcast-function-type-mismatch] 1509 | sasl_callback[0].proc = (int(*)(void)) sasl_getrealm; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailpop3.c:1512:28: warning: cast from 'int (*)(void *, int, const char **, unsigned int *)' to 'int (*)(void)' converts to incompatible function type [-Wcast-function-type-mismatch] 1512 | sasl_callback[1].proc = (int(*)(void)) sasl_getsimple; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailpop3.c:1515:28: warning: cast from 'int (*)(void *, int, const char **, unsigned int *)' to 'int (*)(void)' converts to incompatible function type [-Wcast-function-type-mismatch] 1515 | sasl_callback[2].proc = (int(*)(void)) sasl_getsimple; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailpop3.c:1518:28: warning: cast from 'int (*)(sasl_conn_t *, void *, int, sasl_secret_t **)' (aka 'int (*)(struct sasl_conn *, void *, int, struct sasl_secret **)') to 'int (*)(void)' converts to incompatible function type [-Wcast-function-type-mismatch] 1518 | sasl_callback[3].proc = (int(*)(void)) sasl_getsecret; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailpop3.c:1709:45: warning: unused parameter 's' [-Wunused-parameter] 1709 | static inline void pop3_logger(mailstream * s, int log_type, | ^ -
mailsmtp_helper.c:263:20: warning: cast from 'void (*)(struct esmtp_address *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 263 | clist_foreach(l, (clist_func) esmtp_address_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailsmtp.c:1489:41: warning: unused parameter 'conn' [-Wunused-parameter] 1489 | static int sasl_getsecret(sasl_conn_t * conn, void * context, int id, | ^ -
mailsmtp.c:1507:19: warning: unused parameter 'availrealms' [-Wunused-parameter] 1507 | const char ** availrealms, | ^ -
mailsmtp.c:1547:28: warning: cast from 'int (*)(void *, int, const char **, const char **)' to 'int (*)(void)' converts to incompatible function type [-Wcast-function-type-mismatch] 1547 | sasl_callback[0].proc = (int(*)(void)) sasl_getrealm; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailsmtp.c:1550:28: warning: cast from 'int (*)(void *, int, const char **, unsigned int *)' to 'int (*)(void)' converts to incompatible function type [-Wcast-function-type-mismatch] 1550 | sasl_callback[1].proc = (int(*)(void)) sasl_getsimple; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailsmtp.c:1553:28: warning: cast from 'int (*)(void *, int, const char **, unsigned int *)' to 'int (*)(void)' converts to incompatible function type [-Wcast-function-type-mismatch] 1553 | sasl_callback[2].proc = (int(*)(void)) sasl_getsimple; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailsmtp.c:1556:28: warning: cast from 'int (*)(sasl_conn_t *, void *, int, sasl_secret_t **)' (aka 'int (*)(struct sasl_conn *, void *, int, struct sasl_secret **)') to 'int (*)(void)' converts to incompatible function type [-Wcast-function-type-mismatch] 1556 | sasl_callback[3].proc = (int(*)(void)) sasl_getsecret; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailsmtp.c:1803:45: warning: unused parameter 's' [-Wunused-parameter] 1803 | static inline void smtp_logger(mailstream * s, int log_type, | ^ -
newsfeed.c:359:3: warning: call to 'Wcurl_easy_setopt_err_long' declared with 'warning' attribute: curl_easy_setopt expects a long argument [-Wattribute-warning] 359 | curl_easy_setopt(eh, CURLOPT_NOPROGRESS, 1); | ^ -
newsfeed.c:365:3: warning: call to 'Wcurl_easy_setopt_err_long' declared with 'warning' attribute: curl_easy_setopt expects a long argument [-Wattribute-warning] 365 | curl_easy_setopt(eh, CURLOPT_FOLLOWLOCATION, 1); | ^ -
newsfeed.c:366:3: warning: call to 'Wcurl_easy_setopt_err_long' declared with 'warning' attribute: curl_easy_setopt expects a long argument [-Wattribute-warning] 366 | curl_easy_setopt(eh, CURLOPT_MAXREDIRS, 3); | ^ -
newsfeed.c:367:3: warning: call to 'Wcurl_easy_setopt_err_long' declared with 'warning' attribute: curl_easy_setopt expects a long argument [-Wattribute-warning] 367 | curl_easy_setopt(eh, CURLOPT_TIMEOUT, timeout_value); | ^ -
newsfeed.c:368:3: warning: call to 'Wcurl_easy_setopt_err_long' declared with 'warning' attribute: curl_easy_setopt expects a long argument [-Wattribute-warning] 368 | curl_easy_setopt(eh, CURLOPT_NOSIGNAL, 1); | ^ -
newsfeed.c:380:3: warning: call to 'Wcurl_easy_setopt_err_long' declared with 'warning' attribute: curl_easy_setopt expects a long argument [-Wattribute-warning] 380 | curl_easy_setopt(eh, CURLOPT_SSL_VERIFYPEER, 0); | ^ -
newsfeed.c:381:3: warning: call to 'Wcurl_easy_setopt_err_long' declared with 'warning' attribute: curl_easy_setopt expects a long argument [-Wattribute-warning] 381 | curl_easy_setopt(eh, CURLOPT_SSL_VERIFYHOST, 0); | ^ -
parser.c:135:57: warning: unused parameter 'el' [-Wunused-parameter] 135 | static void elparse_end_dummy(void * data, const char * el) | ^ -
parser.c:342:44: warning: unused parameter 'encdata' [-Wunused-parameter] 342 | static int unknown_encoding_handler(void * encdata, const XML_Char * name, | ^ -
parser_rdf.c:48:76: warning: unused parameter 'attr' [-Wunused-parameter] 48 | void newsfeed_parser_rdf_start(void * data, const char * el, const char ** attr) | ^ -
imapdriver_cached.c:1194:29: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1194 | clist_foreach(msg_list, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
imapdriver_cached.c:1199:27: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1199 | clist_foreach(msg_list, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
imapdriver.c:477:71: warning: unused parameter 'mb' [-Wunused-parameter] 477 | static int status_selected_folder(mailsession * session, const char * mb, | ^ -
imapdriver.c:943:29: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 943 | clist_foreach(msg_list, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
imapdriver.c:948:27: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 948 | clist_foreach(msg_list, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
imapdriver_message.c:166:50: warning: unused parameter 'msg_info' [-Wunused-parameter] 166 | static void imap_fetch_result_free(mailmessage * msg_info, | ^ -
imapdriver_tools.c:270:23: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 270 | clist_foreach(list, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
imapdriver_tools.c:349:25: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 349 | clist_foreach(list, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
imapdriver_tools.c:674:3: warning: cast from 'void (*)(struct mailmime_disposition_parm *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 674 | (clist_func) mailmime_disposition_parm_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
imapdriver_tools.c:749:23: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 749 | clist_foreach(list, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
imapdriver_tools.c:996:23: warning: cast from 'void (*)(struct mailmime_field *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 996 | clist_foreach(list, (clist_func) mailmime_field_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
imapdriver_tools.c:1197:29: warning: cast from 'void (*)(struct mailmime_parameter *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1197 | clist_foreach(parameters, (clist_func) mailmime_parameter_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
imapdriver_tools.c:1502:23: warning: cast from 'void (*)(struct mailmime *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1502 | clist_foreach(list, (clist_func) mailmime_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
imapdriver_tools.c:1692:23: warning: cast from 'void (*)(struct mailimf_mailbox *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1692 | clist_foreach(list, (clist_func) mailimf_mailbox_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
imapdriver_tools.c:1782:23: warning: cast from 'void (*)(struct mailimf_mailbox *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1782 | clist_foreach(list, (clist_func) mailimf_mailbox_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
imapdriver_tools.c:1706:47: warning: unused parameter 'imap_mb_list' [-Wunused-parameter] 1706 | static int imap_mailbox_list_to_group(clist * imap_mb_list, clistiter ** iter, | ^ -
imapdriver_tools.c:1861:23: warning: cast from 'void (*)(struct mailimf_address *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1861 | clist_foreach(list, (clist_func) mailimf_address_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
imapdriver_tools.c:1909:28: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1909 | clist_foreach(hdrlist, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
imapdriver_tools.c:1918:28: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1918 | clist_foreach(hdrlist, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
imapdriver_tools.c:2294:29: warning: cast from 'void (*)(char *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 2294 | clist_foreach(msg_id_list, (clist_func) mailimf_msg_id_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
imapdriver_tools.c:2424:23: warning: cast from 'void (*)(struct mailimf_field *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 2424 | clist_foreach(list, (clist_func) mailimf_field_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
imapdriver_tools.c:3685:19: warning: unused parameter 'session' [-Wunused-parameter] 3685 | mailsession * session, mailmessage * msg, | ^ -
imapdriver_tools.c:3713:19: warning: unused parameter 'session' [-Wunused-parameter] 3713 | mailsession * session, mailmessage * msg, | ^ -
imapdriver_tools.c:82:1: warning: unused function 'cached_session_get_imap_session' [-Wunused-function] 82 | cached_session_get_imap_session(mailsession * session) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
imapstorage.c:73:35: warning: unused parameter 'imap_auth_type' [-Wunused-parameter] 73 | int imap_connection_type, int imap_auth_type, | ^ -
maildirdriver_cached.c:713:19: warning: unused parameter 'session' [-Wunused-parameter] 713 | mailsession * session, | ^ -
maildirdriver_cached.c:740:19: warning: unused parameter 'session' [-Wunused-parameter] 740 | mailsession * session, char * uid, | ^ -
maildirdriver_cached.c:767:19: warning: unused parameter 'session' [-Wunused-parameter] 767 | mailsession * session, char * uid, | ^ -
maildirdriver.c:270:62: warning: unused parameter 'mb' [-Wunused-parameter] 270 | static int status_folder(mailsession * session, const char * mb, | ^ -
maildirdriver.c:312:64: warning: unused parameter 'mb' [-Wunused-parameter] 312 | static int messages_number(mailsession * session, const char * mb, | ^ -
maildirstorage.c:192:12: warning: unused parameter 'pathname' [-Wunused-parameter] 192 | char * pathname, mailsession ** result) | ^ -
mboxdriver_cached.c:774:80: warning: unused parameter 'mb' [-Wunused-parameter] 774 | static int mboxdriver_cached_status_folder(mailsession * session, const char * mb, | ^ -
mboxdriver.c:320:75: warning: unused parameter 'mb' [-Wunused-parameter] 320 | static int mboxdriver_messages_number(mailsession * session, const char * mb, | ^ -
mboxdriver.c:364:60: warning: unused parameter 'flags' [-Wunused-parameter] 364 | const char * message, size_t size, struct mail_flags * flags) | ^ -
mboxstorage.c:191:12: warning: unused parameter 'pathname' [-Wunused-parameter] 191 | char * pathname, mailsession ** result) | ^ -
mboxdriver_tools.c:83:1: warning: unused function 'cached_session_get_ancestor_data' [-Wunused-function] 83 | cached_session_get_ancestor_data(mailsession * session) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mhdriver_cached_message.c:130:1: warning: unused function 'get_mh_session' [-Wunused-function] 130 | get_mh_session(mailmessage * msg) | ^~~~~~~~~~~~~~ -
mhdriver.c:263:43: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 263 | clist_foreach(data->mh_subscribed_list, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
mhdriver.c:305:53: warning: unused parameter 'session' [-Wunused-parameter] 305 | static int mhdriver_build_folder_name(mailsession * session, const char * mb, | ^ -
mhdriver.c:574:23: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 574 | clist_foreach(list, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
mhdriver.c:610:23: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 610 | clist_foreach(list, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
mhdriver.c:580:70: warning: unused parameter 'mb' [-Wunused-parameter] 580 | static int mhdriver_list_folders(mailsession * session, const char * mb, | ^ -
mhdriver.c:662:30: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 662 | clist_foreach(lsub_result, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
mhdriver.c:713:60: warning: unused parameter 'flags' [-Wunused-parameter] 713 | const char * message, size_t size, struct mail_flags * flags) | ^ -
mhdriver_cached.c:219:1: warning: unused function 'get_mh_session' [-Wunused-function] 219 | get_mh_session(mailsession * session) | ^~~~~~~~~~~~~~ -
mhdriver_tools.c:119:1: warning: unused function 'cached_get_ancestor_data' [-Wunused-function] 119 | cached_get_ancestor_data(mailsession * session) | ^~~~~~~~~~~~~~~~~~~~~~~~ -
mime_message_driver.c:59:43: warning: unused parameter 'msg' [-Wunused-parameter] 59 | int mime_message_set_tmpdir(mailmessage * msg, char * tmpdir) | ^ -
mime_message_driver.c:59:55: warning: unused parameter 'tmpdir' [-Wunused-parameter] 59 | int mime_message_set_tmpdir(mailmessage * msg, char * tmpdir) | ^ -
mime_message_driver.c:126:33: warning: unused parameter 'msg' [-Wunused-parameter] 126 | static void flush(mailmessage * msg) | ^ -
mime_message_driver.c:131:33: warning: unused parameter 'msg' [-Wunused-parameter] 131 | static void check(mailmessage * msg) | ^ -
mime_message_driver.c:136:45: warning: unused parameter 'msg_info' [-Wunused-parameter] 136 | static void fetch_result_free(mailmessage * msg_info, char * content) | ^ -
nntpdriver.c:216:45: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 216 | clist_foreach(data->nntp_subscribed_list, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
nntpdriver.c:520:23: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 520 | clist_foreach(list, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
nntpdriver.c:584:30: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 584 | clist_foreach(lsub_result, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
nntpdriver.c:644:60: warning: unused parameter 'flags' [-Wunused-parameter] 644 | const char * message, size_t size, struct mail_flags * flags) | ^ -
nntpdriver.c:1083:9: warning: cast from 'void (*)(char *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1083 | (clist_func) mailimf_msg_id_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
nntpdriver.c:1122:23: warning: cast from 'void (*)(struct mailimf_field *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1122 | clist_foreach(list, (clist_func) mailimf_field_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
nntpdriver_cached_message.c:123:1: warning: unused function 'get_nntp_session' [-Wunused-function] 123 | get_nntp_session(mailmessage * msg) | ^~~~~~~~~~~~~~~~ -
nntpdriver_cached.c:650:60: warning: unused parameter 'flags' [-Wunused-parameter] 650 | const char * message, size_t size, struct mail_flags * flags) | ^ -
nntpdriver_cached.c:659:19: warning: unused parameter 'session' [-Wunused-parameter] 659 | mailsession * session, uint32_t num, | ^ -
nntpdriver_cached.c:685:19: warning: unused parameter 'session' [-Wunused-parameter] 685 | mailsession * session, uint32_t num, | ^ -
nntpdriver_cached.c:223:26: warning: unused function 'get_nntp_session' [-Wunused-function] 223 | static inline newsnntp * get_nntp_session(mailsession * session) | ^~~~~~~~~~~~~~~~ -
nntpdriver_tools.c:147:1: warning: unused function 'cached_session_get_ancestor_data' [-Wunused-function] 147 | cached_session_get_ancestor_data(mailsession * session) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
nntpdriver_tools.c:152:26: warning: unused function 'cached_session_get_nntp_session' [-Wunused-function] 152 | static inline newsnntp * cached_session_get_nntp_session(mailsession * session) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
pop3driver_cached.c:474:18: warning: unused parameter 'mb' [-Wunused-parameter] 474 | const char * mb, uint32_t * result_messages, uint32_t * result_recent, | ^ -
pop3driver.c:319:75: warning: unused parameter 'mb' [-Wunused-parameter] 319 | static int pop3driver_messages_number(mailsession * session, const char * mb, | ^ -
pop3storage.c:476:12: warning: unused parameter 'pathname' [-Wunused-parameter] 476 | char * pathname, mailsession ** result) | ^ -
pop3driver_tools.c:133:1: warning: unused function 'cached_session_get_ancestor_data' [-Wunused-function] 133 | cached_session_get_ancestor_data(mailsession * session) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
dbdriver.c:438:33: warning: unused parameter 'session' [-Wunused-parameter] 438 | static int logout(mailsession * session) | ^ -
dbdriver.c:565:62: warning: unused parameter 'mb' [-Wunused-parameter] 565 | static int status_folder(mailsession * session, const char * mb, | ^ -
dbdriver.c:1016:34: warning: unused parameter 'result' [-Wunused-parameter] 1016 | uint32_t num, mailmessage ** result) | ^ -
dbstorage.c:143:12: warning: unused parameter 'pathname' [-Wunused-parameter] 143 | char * pathname, mailsession ** result) | ^ -
feeddriver.c:281:75: warning: unused parameter 'mb' [-Wunused-parameter] 281 | static int feeddriver_messages_number(mailsession * session, const char * mb, | ^ -
feeddriver.c:328:45: warning: unused parameter 'session' [-Wunused-parameter] 328 | feeddriver_get_envelopes_list(mailsession * session, | ^ -
feeddriver.c:329:36: warning: unused parameter 'env_list' [-Wunused-parameter] 329 | struct mailmessage_list * env_list) | ^ -
feeddriver.c:778:56: warning: unused parameter 'session' [-Wunused-parameter] 778 | static int feeddriver_get_message_by_uid(mailsession * session, | ^ -
feeddriver.c:779:18: warning: unused parameter 'uid' [-Wunused-parameter] 779 | const char * uid, | ^ -
feeddriver.c:780:20: warning: unused parameter 'result' [-Wunused-parameter] 780 | mailmessage ** result) | ^ -
feeddriver.c:210:33: warning: unused function 'get_feed_session' [-Wunused-function] 210 | static inline struct newsfeed * get_feed_session(mailsession * session) | ^~~~~~~~~~~~~~~~ -
feeddriver_message.c:187:14: warning: unused parameter 'result' [-Wunused-parameter] 187 | size_t * result) | ^ -
feedstorage.c:178:12: warning: unused parameter 'pathname' [-Wunused-parameter] 178 | char * pathname, mailsession ** result) | ^ -
maildriver_tools.c:66:53: warning: unused parameter 'session' [-Wunused-parameter] 66 | maildriver_generic_get_envelopes_list(mailsession * session, | ^ -
maildriver_tools.c:511:27: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 511 | clist_foreach(msg_list, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
maildriver_tools.c:564:27: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 564 | clist_foreach(msg_list, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
maildriver_types.c:91:32: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 91 | clist_foreach(resp->mb_list, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
maildriver_types.c:348:38: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 348 | clist_foreach(flags->fl_extension, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
mailmessage_tools.c:175:53: warning: unused parameter 'msg_info' [-Wunused-parameter] 175 | mailmessage_generic_fetch_result_free(mailmessage * msg_info, char * msg) | ^ -
mailmessage_tools.c:360:49: warning: unused parameter 'msg_info' [-Wunused-parameter] 360 | mailmessage_generic_fetch_section(mailmessage * msg_info, | ^ -
mailmessage_tools.c:393:56: warning: unused parameter 'msg_info' [-Wunused-parameter] 393 | mailmessage_generic_fetch_section_header(mailmessage * msg_info, | ^ -
mailmessage_tools.c:452:54: warning: unused parameter 'msg_info' [-Wunused-parameter] 452 | mailmessage_generic_fetch_section_mime(mailmessage * msg_info, | ^ -
mailmessage_tools.c:506:54: warning: unused parameter 'msg_info' [-Wunused-parameter] 506 | mailmessage_generic_fetch_section_body(mailmessage * msg_info, | ^ -
mailstorage_tools.c:398:9: warning: unused parameter 'auth_type' [-Wunused-parameter] 398 | int auth_type, | ^ -
imfcache.c:353:23: warning: cast from 'void (*)(struct mailimf_field *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 353 | clist_foreach(list, (clist_func) mailimf_field_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
imfcache.c:931:23: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 931 | clist_foreach(list, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
imfcache.c:958:32: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 958 | clist_foreach(msg_id_list, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
imfcache.c:988:32: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 988 | clist_foreach(msg_id_list, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
imfcache.c:1135:23: warning: cast from 'void (*)(struct mailimf_address *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1135 | clist_foreach(list, (clist_func) mailimf_address_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
imfcache.c:1373:23: warning: cast from 'void (*)(struct mailimf_mailbox *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1373 | clist_foreach(list, (clist_func) mailimf_mailbox_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
generic_cache.c:220:23: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 220 | clist_foreach(list, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
generic_cache.c:259:22: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 259 | clist_foreach(ext, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
generic_cache.c:347:23: warning: cast from 'void (*)(void *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 347 | clist_foreach(list, (clist_func) free, NULL); | ^~~~~~~~~~~~~~~~~ -
mailprivacy.c:604:48: warning: unused parameter 'privacy' [-Wunused-parameter] 604 | int mailprivacy_msg_fetch(struct mailprivacy * privacy, | ^ -
mailprivacy.c:612:55: warning: unused parameter 'privacy' [-Wunused-parameter] 612 | int mailprivacy_msg_fetch_header(struct mailprivacy * privacy, | ^ -
mailprivacy_gnupg.c:2860:46: warning: unused parameter 'privacy' [-Wunused-parameter] 2860 | static clist * get_list(struct mailprivacy * privacy, mailmessage * msg) | ^ -
mailprivacy_gnupg.c:2983:62: warning: unused parameter 'privacy' [-Wunused-parameter] 2983 | int mailprivacy_gnupg_set_encryption_id(struct mailprivacy * privacy, | ^ -
mailprivacy_gnupg.c:3016:51: warning: unused parameter 'privacy' [-Wunused-parameter] 3016 | static char * get_passphrase(struct mailprivacy * privacy, | ^ -
mailengine.c:1361:49: warning: unused parameter 'engine' [-Wunused-parameter] 1361 | libetpan_message_get_folder(struct mailengine * engine, | ^ -
mailprivacy_smime.c:619:54: warning: unused parameter 'privacy' [-Wunused-parameter] 619 | static int smime_test_encrypted(struct mailprivacy * privacy, | ^ -
mailprivacy_smime.c:620:19: warning: unused parameter 'msg' [-Wunused-parameter] 620 | mailmessage * msg, | ^ -
mailprivacy_smime.c:1358:58: warning: unused parameter 'privacy' [-Wunused-parameter] 1358 | void mailprivacy_smime_set_cert_dir(struct mailprivacy * privacy, | ^ -
mailprivacy_smime.c:1442:65: warning: unused parameter 'privacy' [-Wunused-parameter] 1442 | void mail_private_smime_clear_private_keys(struct mailprivacy * privacy) | ^ -
mailprivacy_smime.c:1516:58: warning: unused parameter 'privacy' [-Wunused-parameter] 1516 | void mailprivacy_smime_set_CA_check(struct mailprivacy * privacy, | ^ -
mailprivacy_smime.c:1522:60: warning: unused parameter 'privacy' [-Wunused-parameter] 1522 | void mailprivacy_smime_set_store_cert(struct mailprivacy * privacy, | ^ -
mailprivacy_smime.c:1633:50: warning: unused parameter 'privacy' [-Wunused-parameter] 1633 | static void set_private_key(struct mailprivacy * privacy, | ^ -
mailprivacy_smime.c:1746:46: warning: unused parameter 'privacy' [-Wunused-parameter] 1746 | static clist * get_list(struct mailprivacy * privacy, mailmessage * msg) | ^ -
mailprivacy_smime.c:1867:62: warning: unused parameter 'privacy' [-Wunused-parameter] 1867 | int mailprivacy_smime_set_encryption_id(struct mailprivacy * privacy, | ^ -
mailprivacy_smime.c:1900:51: warning: unused parameter 'privacy' [-Wunused-parameter] 1900 | static char * get_passphrase(struct mailprivacy * privacy, | ^ -
mailprivacy_tools.c:1214:23: warning: cast from 'void (*)(struct mailmime_parameter *)' to 'clist_func' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 1214 | clist_foreach(list, (clist_func) mailmime_parameter_free, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mime-create.c:317:14: warning: unused parameter 'argc' [-Wunused-parameter] 317 | int main(int argc, char ** argv) | ^ -
mime-create.c:317:28: warning: unused parameter 'argv' [-Wunused-parameter] 317 | int main(int argc, char ** argv) | ^