Snippets for libetpan 2.0.1 from Fedora i686
Sourced from https://kojipkgs.fedoraproject.org/packages/libetpan/2.0.1/1.fc46/data/logs/i686/build.log.
-
mailstream.c:290:41: warning: unused parameter 's' [-Wunused-parameter] 290 | static void low_logger(mailstream_low * s, int log_type, | ~~~~~~~~~~~~~~~~~^ -
mailstream_helper.c:553:10: warning: variable 'count' set but not used [-Wunused-but-set-variable=] 553 | size_t count; | ^~~~~ -
maillock.c:160:51: warning: unused parameter 'fd' [-Wunused-parameter] 160 | static int lock_common(const char * filename, int fd, short locktype) | ~~~~^~ -
maillock.c:160:61: warning: unused parameter 'locktype' [-Wunused-parameter] 160 | static int lock_common(const char * filename, int fd, short locktype) | ~~~~~~^~~~~~~~ -
maillock.c:315:53: warning: unused parameter 'fd' [-Wunused-parameter] 315 | static int unlock_common(const char * filename, int fd) | ~~~~^~ -
mailstream_gnutls.c:238:54: warning: unused parameter 'req_ca_rdn' [-Wunused-parameter] 238 | const gnutls_datum_t *req_ca_rdn, int nreqs, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailstream_gnutls.c:238:70: warning: unused parameter 'nreqs' [-Wunused-parameter] 238 | const gnutls_datum_t *req_ca_rdn, int nreqs, | ~~~~^~~~~ -
mailstream_gnutls.c:239:61: warning: unused parameter 'sign_algos' [-Wunused-parameter] 239 | const gnutls_pk_algorithm_t *sign_algos, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailstream_gnutls.c:240:36: warning: unused parameter 'sign_algos_length' [-Wunused-parameter] 240 | int sign_algos_length, gnutls_retr2_st *st) | ~~~~^~~~~~~~~~~~~~~~~ -
mailstream_gnutls.c:400:66: warning: unused parameter 'starttls' [-Wunused-parameter] 400 | static mailstream_low * mailstream_low_ssl_open_full(int fd, int starttls, time_t timeout, | ~~~~^~~~~~~~ -
mailstream_gnutls.c:881:80: warning: unused parameter 'ssl_context' [-Wunused-parameter] 881 | int mailstream_gnutls_ssl_set_client_certicate(struct mailstream_ssl_context * ssl_context, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -
mailstream_gnutls.c:882:12: warning: unused parameter 'filename' [-Wunused-parameter] 882 | char * filename) | ~~~~~~~^~~~~~~~ -
mailstream_gnutls.c:928:80: warning: unused parameter 'ssl_context' [-Wunused-parameter] 928 | int mailstream_gnutls_ssl_set_server_certicate(struct mailstream_ssl_context * ssl_context, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -
mailstream_gnutls.c:929:12: warning: unused parameter 'CAfile' [-Wunused-parameter] 929 | char * CAfile, char * CApath) | ~~~~~~~^~~~~~ -
mailstream_gnutls.c:929:27: warning: unused parameter 'CApath' [-Wunused-parameter] 929 | char * CAfile, char * CApath) | ~~~~~~~^~~~~~ -
mailstream_gnutls.c:1033:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1033 | for(skpos = 0 ; skpos < raw_cert_list_length ; skpos ++) { | ^ -
mailstream_cfstream.c:236:60: warning: unused parameter 'hostname' [-Wunused-parameter] 236 | mailstream * mailstream_cfstream_open_timeout(const char * hostname, int16_t port, time_t timeout) | ~~~~~~~~~~~~~^~~~~~~~ -
mailstream_cfstream.c:236:78: warning: unused parameter 'port' [-Wunused-parameter] 236 | mailstream * mailstream_cfstream_open_timeout(const char * hostname, int16_t port, time_t timeout) | ~~~~~~~~^~~~ -
mailstream_cfstream.c:236:91: warning: unused parameter 'timeout' [-Wunused-parameter] 236 | mailstream * mailstream_cfstream_open_timeout(const char * hostname, int16_t port, time_t timeout) | ~~~~~~~^~~~~~~ -
mailstream_cfstream.c:497:68: warning: unused parameter 'hostname' [-Wunused-parameter] 497 | mailstream_low * mailstream_low_cfstream_open_timeout(const char * hostname, int16_t port, | ~~~~~~~~~~~~~^~~~~~~~ -
mailstream_cfstream.c:497:86: warning: unused parameter 'port' [-Wunused-parameter] 497 | mailstream_low * mailstream_low_cfstream_open_timeout(const char * hostname, int16_t port, | ~~~~~~~~^~~~ -
mailstream_cfstream.c:498:10: warning: unused parameter 'timeout' [-Wunused-parameter] 498 | time_t timeout) | ~~~~~~~^~~~~~~ -
mailstream_cfstream.c:584:59: warning: unused parameter 's' [-Wunused-parameter] 584 | static int mailstream_low_cfstream_close(mailstream_low * s) | ~~~~~~~~~~~~~~~~~^ -
mailstream_cfstream.c:604:59: warning: unused parameter 's' [-Wunused-parameter] 604 | static void mailstream_low_cfstream_free(mailstream_low * s) | ~~~~~~~~~~~~~~~~~^ -
mailstream_cfstream.c:617:60: warning: unused parameter 's' [-Wunused-parameter] 617 | static int mailstream_low_cfstream_get_fd(mailstream_low * s) | ~~~~~~~~~~~~~~~~~^ -
mailstream_cfstream.c:864:62: warning: unused parameter 's' [-Wunused-parameter] 864 | static ssize_t mailstream_low_cfstream_read(mailstream_low * s, | ~~~~~~~~~~~~~~~~~^ -
mailstream_cfstream.c:865:52: warning: unused parameter 'buf' [-Wunused-parameter] 865 | void * buf, size_t count) | ~~~~~~~^~~ -
mailstream_cfstream.c:865:64: warning: unused parameter 'count' [-Wunused-parameter] 865 | void * buf, size_t count) | ~~~~~~~^~~~~ -
mailstream_cfstream.c:899:63: warning: unused parameter 's' [-Wunused-parameter] 899 | static ssize_t mailstream_low_cfstream_write(mailstream_low * s, | ~~~~~~~~~~~~~~~~~^ -
mailstream_cfstream.c:900:59: warning: unused parameter 'buf' [-Wunused-parameter] 900 | const void * buf, size_t count) | ~~~~~~~~~~~~~^~~ -
mailstream_cfstream.c:900:71: warning: unused parameter 'count' [-Wunused-parameter] 900 | const void * buf, size_t count) | ~~~~~~~^~~~~ -
mailstream_cfstream.c:958:61: warning: unused parameter 's' [-Wunused-parameter] 958 | static void mailstream_low_cfstream_cancel(mailstream_low * s) | ~~~~~~~~~~~~~~~~~^ -
mailstream_cfstream.c:978:54: warning: unused parameter 's' [-Wunused-parameter] 978 | int mailstream_cfstream_set_ssl_enabled(mailstream * s, int ssl_enabled) | ~~~~~~~~~~~~~^ -
mailstream_cfstream.c:978:61: warning: unused parameter 'ssl_enabled' [-Wunused-parameter] 978 | int mailstream_cfstream_set_ssl_enabled(mailstream * s, int ssl_enabled) | ~~~~^~~~~~~~~~~ -
mailstream_cfstream.c:1084:53: warning: unused parameter 's' [-Wunused-parameter] 1084 | int mailstream_cfstream_is_ssl_enabled(mailstream * s) | ~~~~~~~~~~~~~^ -
mailstream_cfstream.c:1095:65: warning: unused parameter 's' [-Wunused-parameter] 1095 | void mailstream_cfstream_set_ssl_verification_mask(mailstream * s, int verification_mask) | ~~~~~~~~~~~~~^ -
mailstream_cfstream.c:1095:72: warning: unused parameter 'verification_mask' [-Wunused-parameter] 1095 | void mailstream_cfstream_set_ssl_verification_mask(mailstream * s, int verification_mask) | ~~~~^~~~~~~~~~~~~~~~~ -
mailstream_cfstream.c:1104:57: warning: unused parameter 's' [-Wunused-parameter] 1104 | void mailstream_cfstream_set_ssl_peer_name(mailstream * s, const char * peer_name) | ~~~~~~~~~~~~~^ -
mailstream_cfstream.c:1104:73: warning: unused parameter 'peer_name' [-Wunused-parameter] 1104 | void mailstream_cfstream_set_ssl_peer_name(mailstream * s, const char * peer_name) | ~~~~~~~~~~~~~^~~~~~~~~ -
mailstream_cfstream.c:1120:57: warning: unused parameter 's' [-Wunused-parameter] 1120 | void mailstream_cfstream_set_ssl_is_server(mailstream * s, int is_server) | ~~~~~~~~~~~~~^ -
mailstream_cfstream.c:1120:64: warning: unused parameter 'is_server' [-Wunused-parameter] 1120 | void mailstream_cfstream_set_ssl_is_server(mailstream * s, int is_server) | ~~~~^~~~~~~~~ -
mailstream_cfstream.c:1129:53: warning: unused parameter 's' [-Wunused-parameter] 1129 | void mailstream_cfstream_set_ssl_level(mailstream * s, int ssl_level) | ~~~~~~~~~~~~~^ -
mailstream_cfstream.c:1129:60: warning: unused parameter 'ssl_level' [-Wunused-parameter] 1129 | void mailstream_cfstream_set_ssl_level(mailstream * s, int ssl_level) | ~~~~^~~~~~~~~ -
mailstream_cfstream.c:1143:56: warning: unused parameter 'low' [-Wunused-parameter] 1143 | int mailstream_low_cfstream_wait_idle(mailstream_low * low, int max_idle_delay) | ~~~~~~~~~~~~~~~~~^~~ -
mailstream_cfstream.c:1143:65: warning: unused parameter 'max_idle_delay' [-Wunused-parameter] 1143 | int mailstream_low_cfstream_wait_idle(mailstream_low * low, int max_idle_delay) | ~~~~^~~~~~~~~~~~~~ -
fstream.c:1180:64: warning: unused parameter 's' [-Wunused-parameter] 1180 | static int mailstream_low_cfstream_setup_idle(mailstream_low * s) | ~~~~~~~~~~~~~~~~~^ -
mailstream_cfstream.c:1196:66: warning: unused parameter 's' [-Wunused-parameter] 1196 | static int mailstream_low_cfstream_unsetup_idle(mailstream_low * s) | ~~~~~~~~~~~~~~~~~^ -
mailstream_cfstream.c:1212:68: warning: unused parameter 's' [-Wunused-parameter] 1212 | static int mailstream_low_cfstream_interrupt_idle(mailstream_low * s) | ~~~~~~~~~~~~~~~~~^ -
mailstream_cfstream.c:1249:64: warning: unused parameter 's' [-Wunused-parameter] 1249 | mailstream_low_cfstream_get_certificate_chain(mailstream_low * s) | ~~~~~~~~~~~~~~~~~^ -
mailstream_cfstream.c:1235:13: warning: 'mailstream_low_cfstream_certificate_chain_free' defined but not used [-Wunused-function] 1235 | static void mailstream_low_cfstream_certificate_chain_free( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailstream_cancel.c:172:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 172 | write(cancel->ms_fds[1], &ch, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailstream_cancel.c:182:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 182 | read(cancel->ms_fds[0], &ch, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailimap_keywords.c:93:38: warning: unused parameter 'fd' [-Wunused-parameter] 93 | int mailimap_char_parse(mailstream * fd, MMAPString * buffer, | ~~~~~~~~~~~~~^~ -
mailimap_keywords.c:112:39: warning: unused parameter 'fd' [-Wunused-parameter] 112 | int mailimap_space_parse(mailstream * fd, MMAPString * buffer, | ~~~~~~~~~~~~~^~ -
mailimap_types_helper.c:1349:26: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1349 | clist_foreach(id_list, (clist_func) free, NULL); | ^ -
annotatemore.c:117:9: warning: cast between incompatible function types from 'void (*)(struct mailimap_extension_data *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 117 | (clist_func) mailimap_extension_data_free, NULL); | ^ -
annotatemore_parser.c:190:7: warning: cast between incompatible function types from 'void (*)(struct mailimap_annotatemore_entry_att *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 190 | (clist_func) mailimap_annotatemore_entry_att_free, NULL); | ^ -
annotatemore_parser.c:196:7: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 196 | (clist_func) mailimap_annotatemore_entry_free, NULL); | ^ -
annotatemore_parser.c:270:5: warning: cast between incompatible function types from 'void (*)(struct mailimap_annotatemore_att_value *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 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) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
mailimap_sender.c:1669:35: warning: unused parameter 'progr_rate' [-Wunused-parameter] 1669 | size_t progr_rate, | ~~~~~~~^~~~~~~~~~ -
mailimap_sender.c:1670:48: warning: unused parameter 'progr_fun' [-Wunused-parameter] 1670 | progress_function * progr_fun) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
mailimap.c:152:15: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 152 | (clist_func) mailimap_astring_free, NULL); | ^ -
mailimap.c:184:15: warning: cast between incompatible function types from 'void (*)(struct mailimap_flag_perm *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 184 | (clist_func) mailimap_flag_perm_free, NULL); | ^ -
mailimap.c:872:23: warning: cast between incompatible function types from 'void (*)(struct mailimap_capability *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 872 | clist_foreach(list, (clist_func) mailimap_capability_free, NULL); | ^ -
mailimap.c:1472:29: warning: cast between incompatible function types from 'void (*)(struct mailimap_msg_att *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1472 | clist_foreach(fetch_list, (clist_func) mailimap_msg_att_free, NULL); | ^ -
mailimap.c:1701:41: warning: unused parameter 'conn' [-Wunused-parameter] 1701 | static int sasl_getsecret(sasl_conn_t * conn, void * context, int id, | ~~~~~~~~~~~~~~^~~~ -
mailimap.c:1719:19: warning: unused parameter 'availrealms' [-Wunused-parameter] 1719 | const char ** availrealms, | ~~~~~~~~~~~~~~^~~~~~~~~~~ -
mailimap.c:1764:28: warning: cast between incompatible function types from 'int (*)(void *, int, const char **, const char **)' to 'int (*)(void)' [-Wcast-function-type] 1764 | sasl_callback[0].proc = (int(*)(void)) sasl_getrealm; | ^ -
mailimap.c:1767:28: warning: cast between incompatible function types from 'int (*)(void *, int, const char **, unsigned int *)' to 'int (*)(void)' [-Wcast-function-type] 1767 | sasl_callback[1].proc = (int(*)(void)) sasl_getsimple; | ^ -
mailimap.c:1770:28: warning: cast between incompatible function types from 'int (*)(void *, int, const char **, unsigned int *)' to 'int (*)(void)' [-Wcast-function-type] 1770 | sasl_callback[2].proc = (int(*)(void)) sasl_getsimple; | ^ -
mailimap.c:1773:28: warning: cast between incompatible function types from 'int (*)(sasl_conn_t *, void *, int, sasl_secret_t **)' {aka 'int (*)(struct sasl_conn *, void *, int, struct sasl_secret **)'} to 'int (*)(void)' [-Wcast-function-type] 1773 | sasl_callback[3].proc = (int(*)(void)) sasl_getsecret; | ^ -
mailimap.c:2061:23: warning: cast between incompatible function types from 'void (*)(struct mailimap_mailbox_list *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2061 | clist_foreach(list, (clist_func) mailimap_mailbox_list_free, NULL); | ^ -
mailimap.c:2145:32: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2145 | clist_foreach(search_result, (clist_func) free, NULL); | ^ -
mailimap.c:2810:45: warning: unused parameter 's' [-Wunused-parameter] 2810 | static inline void imap_logger(mailstream * s, int log_type, | ~~~~~~~~~~~~~^ -
annotatemore_types.c:110:9: warning: cast between incompatible function types from 'void (*)(struct mailimap_annotatemore_att_value *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 110 | (clist_func) mailimap_annotatemore_att_value_free, NULL); | ^ -
annotatemore_types.c:195:9: warning: cast between incompatible function types from 'void (*)(struct mailimap_annotatemore_entry_att *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 195 | (clist_func) mailimap_annotatemore_entry_att_free, NULL); | ^ -
annotatemore_types.c:201:9: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 201 | (clist_func) mailimap_annotatemore_entry_free, NULL); | ^ -
annotatemore_types.c:256:44: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 256 | clist_foreach(en_list->entry_match_list, (clist_func) free, NULL); | ^ -
annotatemore_types.c:279:45: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 279 | clist_foreach(at_list->attrib_match_list, (clist_func) free, NULL); | ^ -
annotatemore_types.c:370:7: warning: cast between incompatible function types from 'void (*)(struct mailimap_annotatemore_entry_att *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 370 | (clist_func) mailimap_annotatemore_entry_att_free, NULL); | ^ -
acl.c:208:9: warning: cast between incompatible function types from 'void (*)(struct mailimap_extension_data *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 208 | (clist_func) mailimap_extension_data_free, NULL); | ^ -
acl.c:283:9: warning: cast between incompatible function types from 'void (*)(struct mailimap_extension_data *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 283 | (clist_func) mailimap_extension_data_free, NULL); | ^ -
acl.c:360:9: warning: cast between incompatible function types from 'void (*)(struct mailimap_extension_data *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 360 | (clist_func) mailimap_extension_data_free, NULL); | ^ -
acl_parser.c:114:7: warning: cast between incompatible function types from 'void (*)(struct mailimap_acl_identifier_rights *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 114 | (clist_func) mailimap_acl_identifier_rights_free, NULL); | ^ -
acl_parser.c:209:7: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 209 | (clist_func) mailimap_acl_rights_free, NULL); | ^ -
mailimap_types.c:282:32: warning: cast between incompatible function types from 'void (*)(struct mailimap_body_extension *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 282 | clist_foreach(body_ext_list, (clist_func) mailimap_body_extension_free, | ^ -
mailimap_types.c:513:9: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 513 | (clist_func) mailimap_string_free, NULL); | ^ -
mailimap_types.c:580:17: warning: cast between incompatible function types from 'void (*)(struct mailimap_single_body_fld_param *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 580 | (clist_func) mailimap_single_body_fld_param_free, NULL); | ^ -
mailimap_types.c:691:17: warning: cast between incompatible function types from 'void (*)(struct mailimap_body *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 691 | (clist_func) mailimap_body_free, NULL); | ^ -
mailimap_types.c:823:9: warning: cast between incompatible function types from 'void (*)(struct mailimap_capability *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 823 | (clist_func) mailimap_capability_free, NULL); | ^ -
mailimap_types.c:963:30: warning: cast between incompatible function types from 'void (*)(struct mailimap_address *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 963 | clist_foreach(addr_list, (clist_func) mailimap_address_free, NULL); | ^ -
mailimap_types.c:1222:39: warning: cast between incompatible function types from 'void (*)(struct mailimap_flag *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1222 | clist_foreach(flag_list->fl_list, (clist_func) mailimap_flag_free, NULL); | ^ -
mailimap_types.c:1328:7: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1328 | (clist_func) mailimap_header_fld_name_free, | ^ -
mailimap_types.c:1400:30: warning: cast between incompatible function types from 'void (*)(uint32_t *)' {aka 'void (*)(unsigned int *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 1400 | clist_foreach(data_search, (clist_func) mailimap_number_alloc_free, NULL); | ^ -
mailimap_types.c:1410:39: warning: cast between incompatible function types from 'void (*)(struct mailimap_status_info *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1410 | clist_foreach(info->st_info_list, (clist_func) mailimap_status_info_free, | ^ -
mailimap_types.c:1550:7: warning: cast between incompatible function types from 'void (*)(struct mailimap_mbx_list_oflag *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1550 | (clist_func) mailimap_mbx_list_oflag_free, | ^ -
mailimap_types.c:1758:7: warning: cast between incompatible function types from 'void (*)(struct mailimap_msg_att_item *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1758 | (clist_func) mailimap_msg_att_item_free, NULL); | ^ -
mailimap_types.c:1787:9: warning: cast between incompatible function types from 'void (*)(struct mailimap_flag_fetch *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1787 | (clist_func) mailimap_flag_fetch_free, | ^ -
mailimap_types.c:2072:9: warning: cast between incompatible function types from 'void (*)(struct mailimap_cont_req_or_resp_data *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2072 | (clist_func) mailimap_cont_req_or_resp_data_free, NULL); | ^ -
mailimap_types.c:2410:11: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2410 | (clist_func) mailimap_astring_free, | ^ -
mailimap_types.c:2422:11: warning: cast between incompatible function types from 'void (*)(struct mailimap_flag_perm *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2422 | (clist_func) mailimap_flag_perm_free, NULL); | ^ -
mailimap_types.c:2513:7: warning: cast between incompatible function types from 'void (*)(uint32_t *)' {aka 'void (*)(unsigned int *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 2513 | (clist_func) mailimap_number_alloc_free, NULL); | ^ -
mailimap_types.c:2700:32: warning: cast between incompatible function types from 'void (*)(struct mailimap_set_item *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2700 | clist_foreach(set->set_list, (clist_func) mailimap_set_item_free, NULL); | ^ -
mailimap_types.c:2797:9: warning: cast between incompatible function types from 'void (*)(struct mailimap_fetch_att *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2797 | (clist_func) mailimap_fetch_att_free, NULL); | ^ -
mailimap_types.c:3052:9: warning: cast between incompatible function types from 'void (*)(struct mailimap_search_key *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 3052 | (clist_func) mailimap_search_key_free, NULL); | ^ -
mailimap_types.c:3090:44: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 3090 | clist_foreach(status_att_list->att_list, (clist_func) free, NULL); | ^ -
mailimap_types.c:3132:9: warning: cast between incompatible function types from 'void (*)(struct mailimap_flag_perm *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 3132 | (clist_func) mailimap_flag_perm_free, NULL); | ^ -
mailimap_types.c:3234:9: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 3234 | (clist_func) mailimap_astring_free, NULL); | ^ -
mailimap_types.c:3239:9: warning: cast between incompatible function types from 'void (*)(struct mailimap_mailbox_list *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 3239 | (clist_func) mailimap_mailbox_list_free, NULL); | ^ -
mailimap_types.c:3244:7: warning: cast between incompatible function types from 'void (*)(struct mailimap_extension_data *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 3244 | (clist_func) mailimap_extension_data_free, NULL); | ^ -
mailimap_types.c:3249:9: warning: cast between incompatible function types from 'void (*)(struct mailimap_mailbox_list *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 3249 | (clist_func) mailimap_mailbox_list_free, NULL); | ^ -
mailimap_types.c:3258:20: warning: cast between incompatible function types from 'void (*)(uint32_t *)' {aka 'void (*)(unsigned int *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 3258 | (clist_func) mailimap_number_alloc_free, NULL); | ^ -
mailimap_types.c:3263:19: warning: cast between incompatible function types from 'void (*)(struct mailimap_msg_att *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 3263 | (clist_func) mailimap_msg_att_free, NULL); | ^ -
acl_types.c:99:5: warning: cast between incompatible function types from 'void (*)(struct mailimap_acl_identifier_rights *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 99 | (clist_func) mailimap_acl_identifier_rights_free, NULL); | ^ -
acl_types.c:128:5: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 128 | (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, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
quota.c:107:17: warning: cast between incompatible function types from 'void (*)(struct mailimap_quota_quota_data *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 107 | (clist_func) &mailimap_quota_quota_data_free, NULL); | ^ -
quota.c:112:19: warning: cast between incompatible function types from 'void (*)(struct mailimap_extension_data *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 112 | (clist_func) mailimap_extension_data_free, NULL); | ^ -
quota.c:131:9: warning: cast between incompatible function types from 'void (*)(struct mailimap_extension_data *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 131 | (clist_func) mailimap_extension_data_free, NULL); | ^ -
quota.c:141:9: warning: cast between incompatible function types from 'void (*)(struct mailimap_quota_quota_data *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 141 | (clist_func) &mailimap_quota_quota_data_free, NULL); | ^ -
quota.c:149:9: warning: cast between incompatible function types from 'void (*)(struct mailimap_quota_quota_data *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 149 | (clist_func) &mailimap_quota_quota_data_free, NULL); | ^ -
quota_parser.c:147:7: warning: cast between incompatible function types from 'void (*)(struct mailimap_quota_quota_resource *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 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 between incompatible function types from 'void (*)(struct mailimap_quota_quota_resource *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 262 | (clist_func) &mailimap_quota_quota_resource_free, NULL); | ^ -
quota_parser.c:348:7: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 348 | (clist_func) &mailimap_astring_free, NULL); | ^ -
quota_types.c:92:7: warning: cast between incompatible function types from 'void (*)(struct mailimap_quota_quota_resource *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 92 | (clist_func) &mailimap_quota_quota_resource_free, NULL); | ^ -
quota_types.c:120:7: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 120 | (clist_func) &mailimap_astring_free, NULL); | ^ -
quota_types.c:149:7: warning: cast between incompatible function types from 'void (*)(struct mailimap_quota_quota_data *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 149 | (clist_func) &mailimap_quota_quota_data_free, NULL); | ^ -
namespace.c:106:17: warning: cast between incompatible function types from 'void (*)(struct mailimap_extension_data *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 106 | (clist_func) mailimap_extension_data_free, NULL); | ^ -
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, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
xgmlabels.c:85:34: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 85 | clist_foreach(att->att_labels, (clist_func) mailimap_astring_free, NULL); | ^ -
xgmlabels.c:182:25: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 182 | clist_foreach(list, (clist_func) mailimap_astring_free, NULL); | ^ -
xgmlabels.c:214:31: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 214 | clist_foreach(label_list, (clist_func) mailimap_astring_free, NULL); | ^ -
xgmlabels.c:229:43: warning: unused parameter 'progr_rate' [-Wunused-parameter] 229 | size_t progr_rate, progress_function * progr_fun) | ~~~~~~~^~~~~~~~~~ -
xgmlabels.c:229:75: warning: unused parameter 'progr_fun' [-Wunused-parameter] 229 | size_t progr_rate, progress_function * progr_fun) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
mailimap_id_types.c:55:34: warning: cast between incompatible function types from 'void (*)(struct mailimap_id_param *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 55 | 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:43: warning: unused parameter 'progr_rate' [-Wunused-parameter] 103 | size_t progr_rate, | ~~~~~~~^~~~~~~~~~ -
mailimap_id_parser.c:104:56: warning: unused parameter 'progr_fun' [-Wunused-parameter] 104 | progress_function * progr_fun) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
mailimap_id_parser.c:178:26: warning: cast between incompatible function types from 'void (*)(struct mailimap_id_param *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 178 | clist_foreach(items, (clist_func) mailimap_id_param_free, NULL); | ^ -
enable.c:265:29: warning: cast between incompatible function types from 'void (*)(struct mailimap_capability *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 265 | clist_foreach(cap_list, (clist_func) mailimap_capability_free, NULL); | ^ -
condstore_types.c:117:50: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 117 | clist_foreach(search_data->cs_search_result, (clist_func) free, NULL); | ^ -
mailimap_sort_types.c:73:19: warning: cast between incompatible function types from 'void (*)(struct mailimap_sort_key *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 73 | (clist_func) mailimap_sort_key_free, NULL); | ^ -
mailimap_sort.c:133:17: warning: cast between incompatible function types from 'void (*)(struct mailimap_extension_data *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 133 | (clist_func) mailimap_extension_data_free, NULL); | ^ -
mailimap_sort.c:211:17: warning: cast between incompatible function types from 'void (*)(struct mailimap_extension_data *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 211 | (clist_func) mailimap_extension_data_free, NULL); | ^ -
mailimap_sort.c:239:32: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 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, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
qresync.c:552:16: warning: unused parameter 'progr_rate' [-Wunused-parameter] 552 | size_t progr_rate, progress_function * progr_fun) | ~~~~~~~^~~~~~~~~~ -
qresync.c:552:48: 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, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
condstore.c:835:30: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 835 | clist_foreach(number_list, (clist_func) free, NULL); | ^ -
condstore.c:880:16: warning: unused parameter 'progr_rate' [-Wunused-parameter] 880 | size_t progr_rate, progress_function * progr_fun) | ~~~~~~~^~~~~~~~~~ -
condstore.c:880:48: warning: unused parameter 'progr_fun' [-Wunused-parameter] 880 | size_t progr_rate, progress_function * progr_fun) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
mailimap_parser.c:836:112: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 836 | static int mailimap_unstrict_char_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:941:98: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 941 | int mailimap_dquote_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:1044:30: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1044 | clist_foreach(struct_list, (clist_func) destructor, NULL); | ^ -
mailimap_parser.c:1109:30: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1109 | clist_foreach(struct_list, (clist_func) destructor, NULL); | ^ -
mailimap_parser.c:1197:30: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1197 | clist_foreach(struct_list, (clist_func) destructor, NULL); | ^ -
mailimap_parser.c:1278:30: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1278 | clist_foreach(struct_list, (clist_func) destructor, NULL); | ^ -
mailimap_parser.c:1398:32: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1398 | clist_foreach(struct_list, (clist_func) destructor, NULL); | ^ -
mailimap_parser.c:1426:101: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 1426 | mailimap_custom_string_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:1482:39: warning: unused parameter 'progr_rate' [-Wunused-parameter] 1482 | size_t progr_rate, | ~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:1483:52: warning: unused parameter 'progr_fun' [-Wunused-parameter] 1483 | progress_function * progr_fun) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
mailimap_parser.c:1535:46: warning: unused parameter 'fd' [-Wunused-parameter] 1535 | static int mailimap_digit_parse(mailstream * fd, MMAPString * buffer, | ~~~~~~~~~~~~~^~ -
mailimap_parser.c:1755:36: warning: unused parameter 'progr_rate' [-Wunused-parameter] 1755 | size_t progr_rate, | ~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:1756:49: warning: unused parameter 'progr_fun' [-Wunused-parameter] 1756 | progress_function * progr_fun) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
mailimap_parser.c:1820:32: warning: unused parameter 'progr_rate' [-Wunused-parameter] 1820 | size_t progr_rate, | ~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:1821:45: warning: unused parameter 'progr_fun' [-Wunused-parameter] 1821 | progress_function * progr_fun) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
mailimap_parser.c:1896:47: warning: unused parameter 'fd' [-Wunused-parameter] 1896 | static int mailimap_base64_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ~~~~~~~~~~~~~^~ -
mailimap_parser.c:1896:105: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 1896 | static int mailimap_base64_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:1898:41: warning: unused parameter 'progr_rate' [-Wunused-parameter] 1898 | size_t progr_rate, | ~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:1899:54: warning: unused parameter 'progr_fun' [-Wunused-parameter] 1899 | progress_function * progr_fun) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
mailimap_parser.c:2114:23: warning: cast between incompatible function types from 'void (*)(struct mailimap_body_extension *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2114 | clist_foreach(list, (clist_func) mailimap_body_extension_free, NULL); | ^ -
mailimap_parser.c:2204:19: warning: cast between incompatible function types from 'void (*)(struct mailimap_body_extension *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2204 | (clist_func) mailimap_body_extension_free, | ^ -
mailimap_parser.c:2447:34: warning: cast between incompatible function types from 'void (*)(struct mailimap_body_extension *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2447 | clist_foreach(body_ext_list, (clist_func) mailimap_body_extension_free, | ^ -
mailimap_parser.c:2528:34: warning: cast between incompatible function types from 'void (*)(struct mailimap_body_extension *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2528 | clist_foreach(body_ext_list, (clist_func) mailimap_body_extension_free, | ^ -
mailimap_parser.c:2804:12: warning: unused parameter 'progr_rate' [-Wunused-parameter] 2804 | size_t progr_rate, | ~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:2805:25: warning: unused parameter 'progr_fun' [-Wunused-parameter] 2805 | progress_function * progr_fun) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
mailimap_parser.c:3013:23: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 3013 | clist_foreach(list, (clist_func) mailimap_string_free, NULL); | ^ -
mailimap_parser.c:3077:25: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 3077 | clist_foreach(list, (clist_func) mailimap_string_free, NULL); | ^ -
mailimap_parser.c:3089:96: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 3089 | MMAPString * buffer, struct mailimap_parser_context * parser_ctx, size_t * indx, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:3294:70: warning: unused parameter 'value' [-Wunused-parameter] 3294 | static void mailimap_broken_single_body_fld_param_string_free(char * value) | ~~~~~~~^~~~~ -
mailimap_parser.c:3407:21: warning: cast between incompatible function types from 'void (*)(struct mailimap_single_body_fld_param *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 3407 | (clist_func) mailimap_single_body_fld_param_free, | ^ -
mailimap_parser.c:3459:19: warning: cast between incompatible function types from 'void (*)(struct mailimap_single_body_fld_param *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 3459 | (clist_func) mailimap_single_body_fld_param_free, | ^ -
mailimap_parser.c:3762:28: warning: cast between incompatible function types from 'void (*)(struct mailimap_body *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 3762 | clist_foreach(body_list, (clist_func) mailimap_body_free, NULL); | ^ -
mailimap_parser.c:4191:29: warning: cast between incompatible function types from 'void (*)(struct mailimap_capability *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 4191 | clist_foreach(cap_list, (clist_func) mailimap_capability_free, NULL); | ^ -
mailimap_parser.c:4473:109: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 4473 | static int mailimap_date_month_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:4560:108: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 4560 | static int mailimap_date_year_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:4653:53: warning: unused parameter 'progr_rate' [-Wunused-parameter] 4653 | size_t progr_rate, | ~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:4654:66: warning: unused parameter 'progr_fun' [-Wunused-parameter] 4654 | progress_function * progr_fun) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
mailimap_parser.c:5183:27: warning: cast between incompatible function types from 'void (*)(struct mailimap_address *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 5183 | clist_foreach(list, (clist_func) mailimap_address_free, NULL); | ^ -
mailimap_parser.c:5325:33: warning: cast between incompatible function types from 'void (*)(struct mailimap_address *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 5325 | clist_foreach(address_list, (clist_func) mailimap_address_free, NULL); | ^ -
mailimap_parser.c:5370:23: warning: cast between incompatible function types from 'void (*)(struct mailimap_address *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 5370 | clist_foreach(list, (clist_func) mailimap_address_free, NULL); | ^ -
mailimap_parser.c:5414:23: warning: cast between incompatible function types from 'void (*)(struct mailimap_address *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 5414 | clist_foreach(list, (clist_func) mailimap_address_free, NULL); | ^ -
mailimap_parser.c:5471:23: warning: cast between incompatible function types from 'void (*)(struct mailimap_address *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 5471 | clist_foreach(list, (clist_func) mailimap_address_free, NULL); | ^ -
mailimap_parser.c:5674:23: warning: cast between incompatible function types from 'void (*)(struct mailimap_address *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 5674 | clist_foreach(list, (clist_func) mailimap_address_free, NULL); | ^ -
mailimap_parser.c:5719:23: warning: cast between incompatible function types from 'void (*)(struct mailimap_address *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 5719 | clist_foreach(list, (clist_func) mailimap_address_free, NULL); | ^ -
mailimap_parser.c:5778:23: warning: cast between incompatible function types from 'void (*)(struct mailimap_address *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 5778 | clist_foreach(list, (clist_func) mailimap_address_free, NULL); | ^ -
mailimap_parser.c:6101:25: warning: cast between incompatible function types from 'void (*)(struct mailimap_flag *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 6101 | clist_foreach(list, (clist_func) mailimap_flag_free, NULL); | ^ -
mailimap_parser.c:6318:23: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 6318 | clist_foreach(list, (clist_func) mailimap_header_fld_name_free, NULL); | ^ -
mailimap_parser.c:6544:37: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 6544 | if (search_end - search_beg >= tag_response_end_len && | ^~ -
mailimap_parser.c:6364:68: warning: unused parameter 'items_progr_fun' [-Wunused-parameter] 6364 | mailprogress_function * items_progr_fun, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ -
mailimap_parser.c:6366:71: warning: unused parameter 'msg_att_handler' [-Wunused-parameter] 6366 | mailimap_msg_att_handler * msg_att_handler, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ -
mailimap_parser.c:6367:51: warning: unused parameter 'msg_att_context' [-Wunused-parameter] 6367 | void * msg_att_context) | ~~~~~~~^~~~~~~~~~~~~~~ -
mailimap_parser.c:7045:37: warning: cast between incompatible function types from 'void (*)(struct mailimap_status_info *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 7045 | clist_foreach(status_info_list, (clist_func) mailimap_status_info_free, | ^ -
mailimap_parser.c:7060:107: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 7060 | mailimap_mailbox_data_exists_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:7093:107: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 7093 | mailimap_mailbox_data_recent_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:7507:25: warning: cast between incompatible function types from 'void (*)(struct mailimap_mbx_list_oflag *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 7507 | clist_foreach(oflags, (clist_func) mailimap_mbx_list_oflag_free, NULL); | ^ -
mailimap_parser.c:7648:102: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 7648 | mailimap_mbx_list_sflag_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:8216:23: warning: cast between incompatible function types from 'void (*)(struct mailimap_msg_att_item *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 8216 | clist_foreach(list, (clist_func) mailimap_msg_att_item_free, NULL); | ^ -
mailimap_parser.c:8293:25: warning: cast between incompatible function types from 'void (*)(struct mailimap_flag_fetch *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 8293 | clist_foreach(list, (clist_func) mailimap_flag_fetch_free, NULL); | ^ -
mailimap_parser.c:8546:107: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 8546 | mailimap_msg_att_rfc822_size_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:8979:95: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 8979 | int mailimap_nil_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:9124:97: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 9124 | mailimap_nz_number_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:9190:30: warning: unused parameter 'progr_rate' [-Wunused-parameter] 9190 | size_t progr_rate, | ~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:9191:43: warning: unused parameter 'progr_fun' [-Wunused-parameter] 9191 | progress_function * progr_fun) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
mailimap_parser.c:9346:45: warning: unused parameter 'fd' [-Wunused-parameter] 9346 | mailimap_quoted_specials_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ~~~~~~~~~~~~~^~ -
mailimap_parser.c:9346:103: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 9346 | mailimap_quoted_specials_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:9581:19: warning: cast between incompatible function types from 'void (*)(struct mailimap_cont_req_or_resp_data *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 9581 | (clist_func) mailimap_cont_req_or_resp_data_free, NULL); | ^ -
mailimap_parser.c:10302:104: warning: unused parameter 'parser_ctx' [-Wunused-parameter]
-
mailimap_parser.c:10381:26: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type]
-
mailimap_parser.c:10487:29: warning: cast between incompatible function types from 'void (*)(struct mailimap_flag_perm *)' to 'void (*)(void *, void *)' [-Wcast-function-type]
-
mailimap_parser.c:10505:45: warning: unused parameter 'progr_rate' [-Wunused-parameter]
-
mailimap_parser.c:10506:58: warning: unused parameter 'progr_fun' [-Wunused-parameter]
-
mailimap_parser.c:10578:46: warning: unused parameter 'progr_rate' [-Wunused-parameter]
-
mailimap_parser.c:10579:59: warning: unused parameter 'progr_fun' [-Wunused-parameter]
-
mailimap_parser.c:10793:19: warning: cast between incompatible function types from 'void (*)(struct mailimap_flag_perm *)' to 'void (*)(void *, void *)' [-Wcast-function-type]
-
mailimap_parser.c:10799:31: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type]
-
mailimap_parser.c:11006:29: warning: cast between incompatible function types from 'void (*)(uint32_t *)' {aka 'void (*)(unsigned int *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] -
mailimap_parser.c:11208:102: warning: unused parameter 'parser_ctx' [-Wunused-parameter]
-
mailimap_parser.c:11323:38: warning: unused parameter 'progr_rate' [-Wunused-parameter]
-
mailimap_parser.c:11324:51: warning: unused parameter 'progr_fun' [-Wunused-parameter]
-
mailimap_parser.c:11349:39: warning: unused parameter 'progr_rate' [-Wunused-parameter]
-
mailimap_parser.c:11350:52: warning: unused parameter 'progr_fun' [-Wunused-parameter]
-
mailimap_parser.c:11378:105: warning: unused parameter 'parser_ctx' [-Wunused-parameter]
-
mailimap_parser.c:11561:98: warning: unused parameter 'parser_ctx' [-Wunused-parameter]
-
mailimap_parser.c:11662:10: warning: unused parameter 'progr_rate' [-Wunused-parameter]
-
mailimap_parser.c:11663:23: warning: unused parameter 'progr_fun' [-Wunused-parameter]
-
mailimap_parser.c:11720:30: warning: cast between incompatible function types from 'void (*)(struct mailimap_set_item *)' to 'void (*)(void *, void *)' [-Wcast-function-type]
-
mailimf_types.c:229:35: warning: cast between incompatible function types from 'void (*)(struct mailimf_mailbox *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 229 | clist_foreach(mb_list->mb_list, (clist_func) mailimf_mailbox_free, NULL); | ^ -
mailimf_types.c:256:37: warning: cast between incompatible function types from 'void (*)(struct mailimf_address *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 256 | clist_foreach(addr_list->ad_list, (clist_func) mailimf_address_free, NULL); | ^ -
mailimf_types.c:531:37: warning: cast between incompatible function types from 'void (*)(struct mailimf_field *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 531 | clist_foreach(fields->fld_list, (clist_func) mailimf_field_free, NULL); | ^ -
mailimf_types.c:736:17: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 736 | (clist_func) mailimf_msg_id_free, NULL); | ^ -
mailimf_types.c:760:7: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 760 | (clist_func) mailimf_msg_id_free, NULL); | ^ -
mailimf_types.c:855:36: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 855 | clist_foreach(keywords->kw_list, (clist_func) mailimf_phrase_free, NULL); | ^ -
mailimf_types_helper.c:1282:50: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 479 and 500 [-Wformat-truncation=] 1282 | snprintf(id, MAX_MESSAGE_ID, "etPan.%lx.%lx.%x@%s", | ^~ 1283 | (long) now, value, getpid(), name); | ~~~~ -
mailimf.c:589:30: warning: cast between incompatible function types from 'int (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 589 | clist_foreach(struct_list, (clist_func) destructor, NULL); | ^ -
mailimf.c:672:30: warning: cast between incompatible function types from 'int (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 672 | clist_foreach(struct_list, (clist_func) destructor, NULL); | ^ -
mailimf.c:3144:33: warning: cast between incompatible function types from 'void (*)(struct mailimf_mailbox *)' to 'int (*)(void *)' [-Wcast-function-type] 3144 | (mailimf_struct_destructor *) | ^ -
mailimf.c:3163:23: warning: cast between incompatible function types from 'void (*)(struct mailimf_mailbox *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 3163 | clist_foreach(list, (clist_func) mailimf_mailbox_free, NULL); | ^ -
mailimf.c:3192:33: warning: cast between incompatible function types from 'void (*)(struct mailimf_address *)' to 'int (*)(void *)' [-Wcast-function-type] 3192 | (mailimf_struct_destructor *) | ^ -
mailimf.c:3211:23: warning: cast between incompatible function types from 'void (*)(struct mailimf_address *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 3211 | clist_foreach(list, (clist_func) mailimf_address_free, NULL); | ^ -
mailimf.c:4817:37: warning: cast between incompatible function types from 'void (*)(struct mailimf_field *)' to 'int (*)(void *)' [-Wcast-function-type] 4817 | (mailimf_struct_destructor *) | ^ -
mailimf.c:4857:25: warning: cast between incompatible function types from 'void (*)(struct mailimf_field *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 4857 | clist_foreach(list, (clist_func) mailimf_field_free, NULL); | ^ -
mailimf.c:5357:40: warning: cast between incompatible function types from 'void (*)(char *)' to 'int (*)(void *)' [-Wcast-function-type] 5357 | (mailimf_struct_destructor *) | ^ -
mailimf.c:5410:30: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 5410 | clist_foreach(msg_id_list, (clist_func) mailimf_msg_id_free, NULL); | ^ -
mailimf.c:5470:30: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 5470 | clist_foreach(msg_id_list, (clist_func) mailimf_msg_id_free, NULL); | ^ -
mailimf.c:6122:33: warning: cast between incompatible function types from 'void (*)(char *)' to 'int (*)(void *)' [-Wcast-function-type] 6122 | (mailimf_struct_destructor *) | ^ -
mailimf.c:6147:23: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 6147 | clist_foreach(list, (clist_func) mailimf_phrase_free, NULL); | ^ -
mailimf.c:7623:25: warning: cast between incompatible function types from 'void (*)(struct mailimf_field *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 7623 | clist_foreach(list, (clist_func) mailimf_field_free, NULL); | ^ -
mailimf.c:7692:37: warning: cast between incompatible function types from 'void (*)(struct mailimf_field *)' to 'int (*)(void *)' [-Wcast-function-type] 7692 | (mailimf_struct_destructor *) | ^ -
mailimf.c:7725:25: warning: cast between incompatible function types from 'void (*)(struct mailimf_field *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 7725 | clist_foreach(list, (clist_func) mailimf_field_free, NULL); | ^ -
mailimf.c:7789:37: warning: cast between incompatible function types from 'void (*)(struct mailimf_field *)' to 'int (*)(void *)' [-Wcast-function-type] 7789 | (mailimf_struct_destructor *) | ^ -
mailimf.c:7822:25: warning: cast between incompatible function types from 'void (*)(struct mailimf_field *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 7822 | clist_foreach(list, (clist_func) mailimf_field_free, NULL); | ^ -
maildir.c:513:41: warning: '/tmp/etpan-maildir-XXXXXX' directive output may be truncated writing 25 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 513 | snprintf(tmpname, sizeof(tmpname), "%s/tmp/etpan-maildir-XXXXXX", | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
maildir.c:131:45: warning: '/tmp/' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 131 | snprintf(filename, sizeof(filename), "%s/tmp/%s", | ^~~~~ -
maildir.c:555:61: warning: '/new/' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 555 | snprintf(delivery_new_name, sizeof(delivery_new_name), "%s/new/%s", | ^~~~~ -
maildir.c:574:43: warning: '/new' directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 574 | snprintf(path_new, sizeof(path_new), "%s/new", md->mdir_path); | ^~~~ -
maildir.c:395:43: warning: '/new' directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 395 | snprintf(path_new, sizeof(path_new), "%s/new", md->mdir_path); | ^~~~ -
maildir.c:396:43: warning: '/cur' directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 396 | snprintf(path_cur, sizeof(path_cur), "%s/cur", md->mdir_path); | ^~~~ -
maildir.c:446:10: warning: '/maildirfolder' directive output may be truncated writing 14 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 446 | "%s/maildirfolder", md->mdir_path); | ^~~~~~~~~~~~~~ -
maildir.c:668:44: warning: '%s' directive output may be truncated writing 3 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 668 | snprintf(filename, sizeof(filename), "%s/%s/%s", | ^~ -
maildir.c:702:44: warning: '%s' directive output may be truncated writing 3 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 702 | snprintf(filename, sizeof(filename), "%s/%s/%s", | ^~ -
maildir.c:746:44: warning: '%s' directive output may be truncated writing 3 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 746 | snprintf(filename, sizeof(filename), "%s/%s/%s", | ^~ -
maildir.c:777:54: warning: '%s' directive output may be truncated writing 3 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 777 | snprintf(new_filename, sizeof(new_filename), "%s/%s/%s:2,%s", | ^~ -
maildir.c:774:54: warning: '%s' directive output may be truncated writing 3 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 774 | snprintf(new_filename, sizeof(new_filename), "%s/%s/%s", | ^~ -
mailmbox_types.c:200:3: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 200 | strncpy(folder->mb_filename, mb_filename, PATH_MAX); | ^ -
mailmbox.c:1157:52: warning: unused parameter 'dest_filename' [-Wunused-parameter] 1157 | static int mailmbox_expunge_to_file_no_lock(char * dest_filename, int dest_fd, | ~~~~~~~^~~~~~~~~~~~~ -
mailmbox.c:1339:35: warning: 'XXXXXX' directive output may be truncated writing 6 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 1339 | snprintf(tmp_file, PATH_MAX, "%sXXXXXX", folder->mb_filename); | ^~~~~~ -
mailmime_disposition.c:168:23: warning: cast between incompatible function types from 'void (*)(struct mailmime_disposition_parm *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 168 | clist_foreach(list, (clist_func) mailmime_disposition_parm_free, NULL); | ^ -
mailmime_types.c:100:19: warning: cast between incompatible function types from 'void (*)(struct mailmime_parameter *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 100 | (clist_func) mailmime_parameter_free, NULL); | ^ -
mailmime_types.c:336:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 336 | if (field->fld_data.fld_location != NULL) | ^~ -
mailmime_types.c:360:35: warning: cast between incompatible function types from 'void (*)(struct mailmime_field *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 360 | clist_foreach(fields->fld_list, (clist_func) mailmime_field_free, NULL); | ^ -
mailmime_types.c:404:35: warning: cast between incompatible function types from 'void (*)(struct mailimf_body *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 404 | clist_foreach(mp_body->bd_list, (clist_func) mailimf_body_free, NULL); | ^ -
mailmime_types.c:492:9: warning: cast between incompatible function types from 'void (*)(struct mailmime *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 492 | (clist_func) mailmime_free, NULL); | ^ -
mailmime_types.c:571:7: warning: cast between incompatible function types from 'void (*)(struct mailmime_disposition_parm *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 571 | (clist_func) mailmime_disposition_parm_free, NULL); | ^ -
mailmime_types.c:707:36: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 707 | clist_foreach(section->sec_list, (clist_func) free, NULL); | ^ -
mailmime_types.c:730:32: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 730 | clist_foreach(lang->lg_list, (clist_func) mailimf_atom_free, NULL); | ^ -
mailmime_decode.c:328:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 328 | if (state == 1) { | ^ -
mailmime.c:311:34: warning: cast between incompatible function types from 'void (*)(struct mailmime_parameter *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 311 | clist_foreach(parameters_list, (clist_func) mailmime_parameter_free, NULL); | ^ -
mailmime.c:997:23: warning: cast between incompatible function types from 'void (*)(struct mailmime_field *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 997 | clist_foreach(list, (clist_func) mailmime_field_free, NULL); | ^ -
mailmime.c:1495:23: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1495 | clist_foreach(list, (clist_func) mailimf_atom_free, NULL); | ^ -
mailmime_types_helper.c:243:35: warning: cast between incompatible function types from 'void (*)(struct mailmime_field *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 243 | clist_foreach(fields->fld_list, (clist_func) mailmime_field_detach, NULL); | ^ -
mailmime_types_helper.c:280:35: warning: cast between incompatible function types from 'void (*)(struct mailmime_field *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 280 | clist_foreach(fields->fld_list, (clist_func) mailmime_field_detach, NULL); | ^ -
mailmime_types_helper.c:1194:23: warning: cast between incompatible function types from 'void (*)(struct mailmime_disposition_parm *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1194 | clist_foreach(list, (clist_func) mailmime_disposition_parm_free, NULL); | ^ -
mailmime_content.c:1087:23: warning: cast between incompatible function types from 'void (*)(struct mailmime *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1087 | clist_foreach(list, (clist_func) mailmime_free, NULL); | ^ -
mailmime_content.c:1537:25: warning: cast between incompatible function types from 'void (*)(struct mailmime *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1537 | clist_foreach(list, (clist_func) mailmime_free, NULL); | ^ -
mailmime_content.c:2000:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 2000 | if (in_header) { | ^ -
newsnntp.c:431:20: warning: cast between incompatible function types from 'void (*)(struct newsnntp_group_info *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 431 | clist_foreach(l, (clist_func) group_info_free, NULL); | ^ -
newsnntp.c:679:20: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 679 | clist_foreach(l, (clist_func) free, NULL); | ^ -
newsnntp.c:820:20: warning: cast between incompatible function types from 'void (*)(struct newsnntp_group_time *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 820 | clist_foreach(l, (clist_func) group_time_free, NULL); | ^ -
newsnntp.c:924:20: warning: cast between incompatible function types from 'void (*)(struct newsnntp_distrib_value_meaning *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 924 | clist_foreach(l, (clist_func) distrib_value_meaning_free, NULL); | ^ -
newsnntp.c:1027:20: warning: cast between incompatible function types from 'void (*)(struct newsnntp_distrib_default_value *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1027 | clist_foreach(l, (clist_func) distrib_default_value_free, NULL); | ^ -
newsnntp.c:1126:20: warning: cast between incompatible function types from 'void (*)(struct newsnntp_group_description *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1126 | clist_foreach(l, (clist_func) group_description_free, NULL); | ^ -
newsnntp.c:1194:20: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1194 | clist_foreach(l, (clist_func) free, NULL); | ^ -
newsnntp.c:1257:20: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1257 | clist_foreach(l, (clist_func) free, NULL); | ^ -
newsnntp.c:1448:20: warning: cast between incompatible function types from 'void (*)(struct newsnntp_xhdr_resp_item *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1448 | clist_foreach(l, (clist_func) xhdr_resp_item_free, NULL); | ^ -
newsnntp.c:1624:32: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1624 | clist_foreach(n->ovr_others, (clist_func) free, NULL); | ^ -
newsnntp.c:1633:20: warning: cast between incompatible function types from 'void (*)(struct newsnntp_xover_resp_item *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1633 | clist_foreach(l, (clist_func) xover_resp_item_free, NULL); | ^ -
newsnntp.c:2436:17: warning: argument 1 null where non-null expected [-Wnonnull] 2436 | article = atoi((char *) clist_content(current)); | ^~~~ -
newsnntp.c:2481:14: warning: argument 1 null where non-null expected [-Wnonnull] 2481 | size = atoi((char *) clist_content(current)); | ^~~~ -
newsnntp.c:2491:20: warning: argument 1 null where non-null expected [-Wnonnull] 2491 | line_count = atoi((char *) clist_content(current)); | ^~~~ -
newsnntp.c:2509:31: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2509 | clist_foreach(others, (clist_func) free, NULL); | ^ -
newsnntp.c:2527:29: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2527 | clist_foreach(others, (clist_func) free, NULL); | ^ -
newsnntp.c:2547:30: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2547 | clist_foreach(values_list, (clist_func) free, NULL); | ^ -
newsnntp.c:2573:45: warning: unused parameter 's' [-Wunused-parameter] 2573 | static inline void nntp_logger(mailstream * s, int log_type, | ~~~~~~~~~~~~~^ -
mailpop3.c:218:34: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 218 | clist_foreach(capa->cap_param, (clist_func) free, NULL); | ^ -
mailpop3.c:973:28: warning: cast between incompatible function types from 'void (*)(struct mailpop3_capa *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 973 | clist_foreach(capa_list, (clist_func) mailpop3_capa_free, NULL); | ^ -
mailpop3.c:1355:29: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1355 | clist_foreach(param_list, (clist_func) free, NULL); | ^ -
mailpop3.c:1360:23: warning: cast between incompatible function types from 'void (*)(struct mailpop3_capa *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1360 | clist_foreach(list, (clist_func) mailpop3_capa_free, NULL); | ^ -
mailpop3.c:1488:41: warning: unused parameter 'conn' [-Wunused-parameter] 1488 | static int sasl_getsecret(sasl_conn_t * conn, void * context, int id, | ~~~~~~~~~~~~~~^~~~ -
mailpop3.c:1506:19: warning: unused parameter 'availrealms' [-Wunused-parameter] 1506 | const char ** availrealms, | ~~~~~~~~~~~~~~^~~~~~~~~~~ -
mailpop3.c:1546:28: warning: cast between incompatible function types from 'int (*)(void *, int, const char **, const char **)' to 'int (*)(void)' [-Wcast-function-type] 1546 | sasl_callback[0].proc = (int(*)(void)) sasl_getrealm; | ^ -
mailpop3.c:1549:28: warning: cast between incompatible function types from 'int (*)(void *, int, const char **, unsigned int *)' to 'int (*)(void)' [-Wcast-function-type] 1549 | sasl_callback[1].proc = (int(*)(void)) sasl_getsimple; | ^ -
mailpop3.c:1552:28: warning: cast between incompatible function types from 'int (*)(void *, int, const char **, unsigned int *)' to 'int (*)(void)' [-Wcast-function-type] 1552 | sasl_callback[2].proc = (int(*)(void)) sasl_getsimple; | ^ -
mailpop3.c:1555:28: warning: cast between incompatible function types from 'int (*)(sasl_conn_t *, void *, int, sasl_secret_t **)' {aka 'int (*)(struct sasl_conn *, void *, int, struct sasl_secret **)'} to 'int (*)(void)' [-Wcast-function-type] 1555 | sasl_callback[3].proc = (int(*)(void)) sasl_getsecret; | ^ -
mailpop3.c:1755:45: warning: unused parameter 's' [-Wunused-parameter] 1755 | static inline void pop3_logger(mailstream * s, int log_type, | ~~~~~~~~~~~~~^ -
mailsmtp_helper.c:263:20: warning: cast between incompatible function types from 'void (*)(struct esmtp_address *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 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 between incompatible function types from 'int (*)(void *, int, const char **, const char **)' to 'int (*)(void)' [-Wcast-function-type] 1547 | sasl_callback[0].proc = (int(*)(void)) sasl_getrealm; | ^ -
mailsmtp.c:1550:28: warning: cast between incompatible function types from 'int (*)(void *, int, const char **, unsigned int *)' to 'int (*)(void)' [-Wcast-function-type] 1550 | sasl_callback[1].proc = (int(*)(void)) sasl_getsimple; | ^ -
mailsmtp.c:1553:28: warning: cast between incompatible function types from 'int (*)(void *, int, const char **, unsigned int *)' to 'int (*)(void)' [-Wcast-function-type] 1553 | sasl_callback[2].proc = (int(*)(void)) sasl_getsimple; | ^ -
mailsmtp.c:1556:28: warning: cast between incompatible function types from 'int (*)(sasl_conn_t *, void *, int, sasl_secret_t **)' {aka 'int (*)(struct sasl_conn *, void *, int, struct sasl_secret **)'} to 'int (*)(void)' [-Wcast-function-type] 1556 | sasl_callback[3].proc = (int(*)(void)) sasl_getsecret; | ^ -
mailsmtp.c:1812:45: warning: unused parameter 's' [-Wunused-parameter] 1812 | static inline void smtp_logger(mailstream * s, int log_type, | ~~~~~~~~~~~~~^ -
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) | ~~~~~~~~~~~~~~^~~~ -
mailsmime.c:3062:36: warning: variable 'source' set but not used [-Wunused-but-set-variable=] 3062 | struct mailsmime_certificate * source; | ^~~~~~ -
mailsmime.c:176:12: warning: 'mime_register_owned_buffer' defined but not used [-Wunused-function] 176 | static int mime_register_owned_buffer(struct mailmime * mime, char * buffer) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailpgp.c:1780:55: warning: unused parameter 'message' [-Wunused-parameter] 1780 | int mailpgp_verify(struct mailpgp * pgp, const char * message, size_t length, | ~~~~~~~~~~~~~^~~~~~~ -
mailpgp.c:1780:71: warning: unused parameter 'length' [-Wunused-parameter] 1780 | int mailpgp_verify(struct mailpgp * pgp, const char * message, size_t length, | ~~~~~~~^~~~~~ -
mailpgp.c:944:12: warning: 'make_multipart_encrypted' defined but not used [-Wunused-function] 944 | static int make_multipart_encrypted(const char * armor, size_t armor_len, | ^~~~~~~~~~~~~~~~~~~~~~~~ -
mailpgp.c:890:12: warning: 'make_multipart_signed' defined but not used [-Wunused-function] 890 | static int make_multipart_signed(struct mailmime * original, | ^~~~~~~~~~~~~~~~~~~~~ -
mailpgp.c:643:12: warning: 'write_mime_sub_to_mem' defined but not used [-Wunused-function] 643 | static int write_mime_sub_to_mem(struct mailmime * mime, char ** result, | ^~~~~~~~~~~~~~~~~~~~~ -
mailpgp.c:491:12: warning: 'message_body_bytes' defined but not used [-Wunused-function] 491 | static int message_body_bytes(const char * message, size_t length, | ^~~~~~~~~~~~~~~~~~ -
imapstorage.c:73:35: warning: unused parameter 'imap_auth_type' [-Wunused-parameter] 73 | int imap_connection_type, int imap_auth_type, | ~~~~^~~~~~~~~~~~~~ -
imapdriver_cached_message.c:277:34: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 277 | snprintf(filename, size, "%s/%s", quoted_mb, key); | ^ -
imapdriver_cached_message.c:242:31: warning: '-text' directive output may be truncated writing 5 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 242 | snprintf(key, size, "%s-%s-text", msg_info->msg_uid, section_str); | ^~~~~ -
imapdriver_cached_message.c:239:31: warning: '-mime' directive output may be truncated writing 5 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 239 | snprintf(key, size, "%s-%s-mime", msg_info->msg_uid, section_str); | ^~~~~ -
imapdriver_cached_message.c:236:31: warning: '-header' directive output may be truncated writing 7 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 236 | snprintf(key, size, "%s-%s-header", msg_info->msg_uid, section_str); | ^~~~~~~ -
imapdriver_cached_message.c:233:31: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 233 | snprintf(key, size, "%s-%s", msg_info->msg_uid, section_str); | ^ -
imapdriver_message.c:166:50: warning: unused parameter 'msg_info' [-Wunused-parameter] 166 | static void imap_fetch_result_free(mailmessage * msg_info, | ~~~~~~~~~~~~~~^~~~~~~~ -
imapdriver.c:479:71: warning: unused parameter 'mb' [-Wunused-parameter] 479 | static int status_selected_folder(mailsession * session, const char * mb, | ~~~~~~~~~~~~~^~ -
imapdriver.c:945:29: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 945 | clist_foreach(msg_list, (clist_func) free, NULL); | ^ -
imapdriver.c:950:27: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 950 | clist_foreach(msg_list, (clist_func) free, NULL); | ^ -
imapdriver_cached.c:1194:29: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1194 | clist_foreach(msg_list, (clist_func) free, NULL); | ^ -
imapdriver_cached.c:1199:27: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1199 | clist_foreach(msg_list, (clist_func) free, NULL); | ^ -
imapdriver_cached.c:626:33: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 626 | snprintf(key, PATH_MAX, "%s/%s", cache_dir, quoted_mb); | ^ -
imapdriver_tools.c:272:23: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 272 | clist_foreach(list, (clist_func) free, NULL); | ^ -
imapdriver_tools.c:351:25: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 351 | clist_foreach(list, (clist_func) free, NULL); | ^ -
imapdriver_tools.c:676:17: warning: cast between incompatible function types from 'void (*)(struct mailmime_disposition_parm *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 676 | (clist_func) mailmime_disposition_parm_free, NULL); | ^ -
imapdriver_tools.c:751:23: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 751 | clist_foreach(list, (clist_func) free, NULL); | ^ -
imapdriver_tools.c:998:23: warning: cast between incompatible function types from 'void (*)(struct mailmime_field *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 998 | clist_foreach(list, (clist_func) mailmime_field_free, NULL); | ^ -
imapdriver_tools.c:1199:29: warning: cast between incompatible function types from 'void (*)(struct mailmime_parameter *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1199 | clist_foreach(parameters, (clist_func) mailmime_parameter_free, NULL); | ^ -
imapdriver_tools.c:1504:23: warning: cast between incompatible function types from 'void (*)(struct mailmime *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1504 | clist_foreach(list, (clist_func) mailmime_free, NULL); | ^ -
imapdriver_tools.c:1695:23: warning: cast between incompatible function types from 'void (*)(struct mailimf_mailbox *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1695 | clist_foreach(list, (clist_func) mailimf_mailbox_free, NULL); | ^ -
imapdriver_tools.c:1786:23: warning: cast between incompatible function types from 'void (*)(struct mailimf_mailbox *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1786 | clist_foreach(list, (clist_func) mailimf_mailbox_free, NULL); | ^ -
imapdriver_tools.c:1710:79: warning: unused parameter 'imap_mb_list' [-Wunused-parameter] 1710 | clist /* struct mailimap_address * */ * imap_mb_list, clistiter ** iter, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -
imapdriver_tools.c:1866:23: warning: cast between incompatible function types from 'void (*)(struct mailimf_address *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1866 | clist_foreach(list, (clist_func) mailimf_address_free, NULL); | ^ -
imapdriver_tools.c:1914:28: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1914 | clist_foreach(hdrlist, (clist_func) free, NULL); | ^ -
imapdriver_tools.c:1923:28: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1923 | clist_foreach(hdrlist, (clist_func) free, NULL); | ^ -
imapdriver_tools.c:2299:36: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2299 | clist_foreach(msg_id_list, (clist_func) mailimf_msg_id_free, NULL); | ^ -
imapdriver_tools.c:2429:23: warning: cast between incompatible function types from 'void (*)(struct mailimf_field *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2429 | clist_foreach(list, (clist_func) mailimf_field_free, NULL); | ^ -
imapdriver_tools.c:3692:19: warning: unused parameter 'session' [-Wunused-parameter] 3692 | mailsession * session, mailmessage * msg, | ~~~~~~~~~~~~~~^~~~~~~ -
imapdriver_tools.c:3720:19: warning: unused parameter 'session' [-Wunused-parameter] 3720 | mailsession * session, mailmessage * msg, | ~~~~~~~~~~~~~~^~~~~~~ -
maildirstorage.c:192:12: warning: unused parameter 'pathname' [-Wunused-parameter] 192 | char * pathname, mailsession ** result) | ~~~~~~~^~~~~~~~ -
maildirdriver_cached_message.c:296:45: warning: '%c' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 296 | snprintf(filename_flags, PATH_MAX, "%s%c%s%c%s", | ^~ -
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, | ~~~~~~~~~~~~~^~ -
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_cached.c:1091:47: warning: '%c' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 1091 | snprintf(filename, sizeof(filename), "%s%c%s%c%s", | ^~ -
maildirdriver_cached.c:984:47: warning: '%c' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 984 | snprintf(filename, sizeof(filename), "%s%c%s%c%s", | ^~ -
maildirdriver_cached.c:366:33: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 366 | snprintf(key, PATH_MAX, "%s/%s", data->md_cache_directory, quoted_mb); | ^ -
maildirdriver_cached.c:373:33: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 373 | snprintf(key, PATH_MAX, "%s/%s", data->md_flags_directory, quoted_mb); | ^ -
maildirdriver_cached.c:836:43: warning: '%c' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 836 | snprintf(filename_env, PATH_MAX, "%s%c%s%c%s", | ^~ -
maildirdriver_cached.c:846:45: warning: '%c' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 846 | snprintf(filename_flags, PATH_MAX, "%s%c%s%c%s", | ^~ -
maildirdriver_cached.c:652:47: warning: '%c' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 652 | snprintf(filename, sizeof(filename), "%s%c%s%c%s", | ^~ -
maildirdriver_cached.c:503:45: warning: '%c' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 503 | snprintf(filename_flags, PATH_MAX, "%s%c%s%c%s", | ^~ -
maildirdriver_cached.c:797:34: warning: '-flags' directive output may be truncated writing 6 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 797 | snprintf(keyname, PATH_MAX, "%s-flags", uid); | ^~~~~~ -
mboxstorage.c:191:12: warning: unused parameter 'pathname' [-Wunused-parameter] 191 | char * pathname, mailsession ** result) | ~~~~~~~^~~~~~~~ -
mboxdriver_cached_message.c:292:46: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 292 | snprintf(filename_flags, PATH_MAX, "%s/%s/%s", | ^ -
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) | ~~~~~~~~~~~~~~~~~~~~^~~~~ -
mboxdriver_cached.c:774:80: warning: unused parameter 'mb' [-Wunused-parameter] 774 | static int mboxdriver_cached_status_folder(mailsession * session, const char * mb, | ~~~~~~~~~~~~~^~ -
mboxdriver_cached.c:976:45: warning: '%c' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 976 | snprintf(filename_flags, PATH_MAX, "%s%c%s%c%s", | ^~ -
mboxdriver_cached.c:413:38: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 413 | snprintf(dirname, PATH_MAX, "%s%c%s", | ^ -
mboxdriver_cached.c:422:38: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 422 | snprintf(dirname, PATH_MAX, "%s%c%s", | ^ -
mboxdriver_cached.c:561:39: warning: '%c' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 561 | snprintf(filename, PATH_MAX, "%s%c%s%c%s", | ^~ -
mboxdriver_cached.c:486:39: warning: '%c' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 486 | snprintf(filename, PATH_MAX, "%s%c%s%c%s", | ^~ -
mboxdriver_cached.c:1157:43: warning: '%c' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 1157 | snprintf(filename_env, PATH_MAX, "%s%c%s%c%s", | ^~ -
mboxdriver_cached.c:1168:45: warning: '%c' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 1168 | snprintf(filename_flags, PATH_MAX, "%s%c%s%c%s", | ^~ -
mboxdriver_cached.c:722:45: warning: '%c' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 722 | snprintf(filename_flags, PATH_MAX, "%s%c%s%c%s", | ^~ -
mboxdriver_cached.c:817:45: warning: '%c' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 817 | snprintf(filename_flags, PATH_MAX, "%s%c%s%c%s", | ^~ -
mhdriver_cached_message.c:276:46: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 276 | snprintf(filename_flags, PATH_MAX, "%s/%s/%s", | ^ -
mhdriver.c:263:43: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 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:575:23: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 575 | clist_foreach(list, (clist_func) free, NULL); | ^ -
mhdriver.c:611:23: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 611 | clist_foreach(list, (clist_func) free, NULL); | ^ -
mhdriver.c:581:70: warning: unused parameter 'mb' [-Wunused-parameter] 581 | static int mhdriver_list_folders(mailsession * session, const char * mb, | ~~~~~~~~~~~~~^~ -
mhdriver.c:663:30: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 663 | clist_foreach(lsub_result, (clist_func) free, NULL); | ^ -
mhdriver.c:714:60: warning: unused parameter 'flags' [-Wunused-parameter] 714 | const char * message, size_t size, struct mail_flags * flags) | ~~~~~~~~~~~~~~~~~~~~^~~~~ -
mhdriver_cached.c:950:44: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 950 | snprintf(filename_flags, PATH_MAX, "%s/%s/%s", | ^ -
mhdriver_cached.c:770:44: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 770 | snprintf(filename_flags, PATH_MAX, "%s/%s/%s", | ^ -
mhdriver_cached.c:587:37: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 587 | snprintf(dirname, PATH_MAX, "%s/%s", | ^ -
mhdriver_cached.c:596:37: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 596 | snprintf(dirname, PATH_MAX, "%s/%s", | ^ -
mhdriver_cached.c:1128:42: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 1128 | snprintf(filename_env, PATH_MAX, "%s/%s/%s", | ^ -
mhdriver_cached.c:1138:44: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 1138 | snprintf(filename_flags, PATH_MAX, "%s/%s/%s", | ^ -
mhdriver_cached.c:327:38: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 327 | snprintf(filename, PATH_MAX, "%s/%s/%s", | ^ -
mhdriver_cached.c:254:38: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 254 | snprintf(filename, PATH_MAX, "%s/%s/%s", | ^ -
mhdriver_cached.c:682:44: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 682 | snprintf(filename_flags, PATH_MAX, "%s/%s/%s", | ^ -
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_cached_message.c:144:38: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 144 | snprintf(filename, PATH_MAX, "%s/%s/%i", cached_data->nntp_cache_directory, | ^ -
nntpdriver_cached_message.c:325:46: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 325 | snprintf(filename_flags, PATH_MAX, "%s/%s/%s", | ^ -
nntpdriver_cached_message.c:259:38: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 259 | snprintf(filename, PATH_MAX, "%s/%s/%i-header", | ^ -
nntpdriver.c:216:45: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 216 | clist_foreach(data->nntp_subscribed_list, (clist_func) free, NULL); | ^ -
nntpdriver.c:520:23: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 520 | clist_foreach(list, (clist_func) free, NULL); | ^ -
nntpdriver.c:584:30: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 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:23: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1083 | (clist_func) mailimf_msg_id_free, NULL); | ^ -
nntpdriver.c:1122:23: warning: cast between incompatible function types from 'void (*)(struct mailimf_field *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1122 | clist_foreach(list, (clist_func) mailimf_field_free, NULL); | ^ -
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:728:42: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 728 | snprintf(seq_filename, PATH_MAX, "%s/%s/%s", | ^ -
nntpdriver_cached.c:495:44: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 495 | snprintf(filename_flags, PATH_MAX, "%s/%s/%s", | ^ -
nntpdriver_cached.c:869:42: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 869 | snprintf(filename_env, PATH_MAX, "%s/%s/%s", | ^ -
nntpdriver_cached.c:879:44: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 879 | snprintf(filename_flags, PATH_MAX, "%s/%s/%s", | ^ -
nntpdriver_cached.c:780:42: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 780 | snprintf(seq_filename, PATH_MAX, "%s/%s/%s", | ^ -
nntpdriver_cached.c:1000:39: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 1000 | snprintf(cache_dir, PATH_MAX, "%s/%s", | ^ -
nntpdriver_cached.c:412:33: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 412 | snprintf(key, PATH_MAX, "%s/%s", cached_data->nntp_cache_directory, | ^ -
nntpdriver_cached.c:421:33: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 421 | snprintf(key, PATH_MAX, "%s/%s", cached_data->nntp_flags_directory, | ^ -
pop3driver_cached_message.c:142:38: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 142 | snprintf(filename, PATH_MAX, "%s/%s", | ^ -
pop3driver_cached_message.c:316:44: warning: '%s' directive output may be truncated writing 8 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 316 | snprintf(filename_flags, PATH_MAX, "%s/%s", | ^~ -
pop3driver_cached_message.c:260:38: warning: '-header' directive output may be truncated writing 7 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 260 | snprintf(filename, PATH_MAX, "%s/%s-header", | ^~~~~~~ -
pop3storage.c:480:12: warning: unused parameter 'pathname' [-Wunused-parameter] 480 | char * pathname, mailsession ** result) | ~~~~~~~^~~~~~~~ -
pop3driver.c:323:75: warning: unused parameter 'mb' [-Wunused-parameter] 323 | static int pop3driver_messages_number(mailsession * session, const char * mb, | ~~~~~~~~~~~~~^~ -
pop3driver_cached.c:474:18: warning: unused parameter 'mb' [-Wunused-parameter] 474 | const char * mb, uint32_t * result_messages, uint32_t * result_recent, | ~~~~~~~~~~~~~^~ -
pop3driver_cached.c:745:40: warning: '%s' directive output may be truncated writing 6 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 745 | snprintf(filename_env, PATH_MAX, "%s/%s", | ^~ -
pop3driver_cached.c:760:42: warning: '%s' directive output may be truncated writing 8 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 760 | snprintf(filename_flags, PATH_MAX, "%s/%s", | ^~ -
pop3driver_cached.c:416:42: warning: '%s' directive output may be truncated writing 8 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 416 | snprintf(filename_flags, PATH_MAX, "%s/%s", | ^~ -
pop3driver_cached.c:499:42: warning: '%s' directive output may be truncated writing 8 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 499 | snprintf(filename_flags, PATH_MAX, "%s/%s", | ^~ -
dbstorage.c:143:12: warning: unused parameter 'pathname' [-Wunused-parameter] 143 | char * pathname, mailsession ** result) | ~~~~~~~^~~~~~~~ -
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) | ~~~~~~~~~~~~~~~^~~~~~ -
dbdriver.c:433:3: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 433 | strncpy(data->db_filename, path, sizeof(data->db_filename)); | ^ -
feedstorage.c:178:12: warning: unused parameter 'pathname' [-Wunused-parameter] 178 | char * pathname, mailsession ** result) | ~~~~~~~^~~~~~~~ -
feeddriver_message.c:187:14: warning: unused parameter 'result' [-Wunused-parameter] 187 | size_t * 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:57: 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) | ~~~~~~~~~~~~~~~^~~~~~ -
maildriver_types.c:93:32: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 93 | clist_foreach(resp->mb_list, (clist_func) free, NULL); | ^ -
maildriver_types.c:352:38: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 352 | 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, | ~~~~~~~~~~~~~~^~~~~~~~ -
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 between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 511 | clist_foreach(msg_list, (clist_func) free, NULL); | ^ -
maildriver_tools.c:564:27: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 564 | clist_foreach(msg_list, (clist_func) free, NULL); | ^ -
mailstorage_tools.c:464:9: warning: unused parameter 'auth_type' [-Wunused-parameter] 464 | int auth_type, | ~~~~^~~~~~~~~ -
generic_cache.c:220:23: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 220 | clist_foreach(list, (clist_func) free, NULL); | ^ -
generic_cache.c:259:22: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 259 | clist_foreach(ext, (clist_func) free, NULL); | ^ -
generic_cache.c:347:23: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 347 | clist_foreach(list, (clist_func) free, NULL); | ^ -
imfcache.c:353:23: warning: cast between incompatible function types from 'void (*)(struct mailimf_field *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 353 | clist_foreach(list, (clist_func) mailimf_field_free, NULL); | ^ -
imfcache.c:931:23: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 931 | clist_foreach(list, (clist_func) free, NULL); | ^ -
imfcache.c:958:32: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 958 | clist_foreach(msg_id_list, (clist_func) free, NULL); | ^ -
imfcache.c:988:32: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 988 | clist_foreach(msg_id_list, (clist_func) free, NULL); | ^ -
imfcache.c:1135:23: warning: cast between incompatible function types from 'void (*)(struct mailimf_address *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1135 | clist_foreach(list, (clist_func) mailimf_address_free, NULL); | ^ -
imfcache.c:1373:23: warning: cast between incompatible function types from 'void (*)(struct mailimf_mailbox *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1373 | clist_foreach(list, (clist_func) mailimf_mailbox_free, NULL); | ^ -
mailprivacy.c:606:48: warning: unused parameter 'privacy' [-Wunused-parameter] 606 | int mailprivacy_msg_fetch(struct mailprivacy * privacy, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
mailprivacy.c:614:55: warning: unused parameter 'privacy' [-Wunused-parameter] 614 | int mailprivacy_msg_fetch_header(struct mailprivacy * privacy, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
mailprivacy_tools.c:1214:23: warning: cast between incompatible function types from 'void (*)(struct mailmime_parameter *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1214 | clist_foreach(list, (clist_func) mailmime_parameter_free, NULL); | ^ -
mailprivacy_tools.c:525:5: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 525 | strncpy(basename_buf, filename, PATH_MAX); | ^ -
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:1359:58: warning: unused parameter 'privacy' [-Wunused-parameter] 1359 | void mailprivacy_smime_set_cert_dir(struct mailprivacy * privacy, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
mailprivacy_smime.c:1443:65: warning: unused parameter 'privacy' [-Wunused-parameter] 1443 | void mail_private_smime_clear_private_keys(struct mailprivacy * privacy) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
mailprivacy_smime.c:1517:58: warning: unused parameter 'privacy' [-Wunused-parameter] 1517 | void mailprivacy_smime_set_CA_check(struct mailprivacy * privacy, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
mailprivacy_smime.c:1523:60: warning: unused parameter 'privacy' [-Wunused-parameter] 1523 | void mailprivacy_smime_set_store_cert(struct mailprivacy * privacy, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
mailprivacy_smime.c:1634:50: warning: unused parameter 'privacy' [-Wunused-parameter] 1634 | static void set_private_key(struct mailprivacy * privacy, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
mailprivacy_smime.c:1747:59: warning: unused parameter 'privacy' [-Wunused-parameter] 1747 | static clist /* char * */ * get_list(struct mailprivacy * privacy, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
mailprivacy_smime.c:1869:62: warning: unused parameter 'privacy' [-Wunused-parameter] 1869 | int mailprivacy_smime_set_encryption_id(struct mailprivacy * privacy, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
mailprivacy_smime.c:1902:51: warning: unused parameter 'privacy' [-Wunused-parameter] 1902 | static char * get_passphrase(struct mailprivacy * privacy, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
mailprivacy_smime.c:798:46: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4058 [-Wformat-truncation=] 798 | "openssl smime -sign -passin fd:0 -in '%s' -signer '%s' -inkey '%s'", | ^~ 799 | quoted_signed_filename, | ~~~~~~~~~~~~~~~~~~~~~~ -
mailprivacy_smime.c:1597:7: warning: '-cert.pem' directive output may be truncated writing 9 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 1597 | "%s/%s" CERTIFICATE_SUFFIX, cert_dir, email); | ^~~~~~~ -
mailprivacy_smime.c:1607:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4065 [-Wformat-truncation=] 1607 | "openssl pkcs7 -inform DER -in '%s' -out '%s' -print_certs 2>/dev/null", | ^~ 1608 | quoted_signature_filename, quoted_store_cert_filename); | ~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailprivacy_smime.c:470:52: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4087 [-Wformat-truncation=] 470 | snprintf(check_CA, sizeof(check_CA), "-CAfile '%s'", quoted_CAfile); | ^~ ~~~~~~~~~~~~~ -
mailprivacy_smime.c:514:66: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4069 [-Wformat-truncation=] 514 | snprintf(command, sizeof(command), "openssl smime -verify -in '%s' %s %s", | ^~ 515 | quoted_smime_filename, check_CA, noverify); | ~~~~~~~~~~~~~~~~~~~~~ -
mailprivacy_smime.c:1083:67: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4068 [-Wformat-truncation=] 1083 | snprintf(command, sizeof(command), "openssl smime -encrypt -in '%s' %s", | ^~ 1084 | quoted_decrypted_filename, recipient); | ~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailprivacy_smime.c:317:51: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4055 [-Wformat-truncation=] 317 | "openssl smime -decrypt -passin fd:0 -in '%s' -inkey '%s' -recip '%s'", | ^~ 318 | quoted_smime_filename, quoted_smime_key, quoted_smime_cert); | ~~~~~~~~~~~~~~~~~~~~~ -
mailprivacy_gnupg.c:2963:59: warning: unused parameter 'privacy' [-Wunused-parameter] 2963 | static clist /* char * */ * get_list(struct mailprivacy * privacy, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
mailprivacy_gnupg.c:3087:62: warning: unused parameter 'privacy' [-Wunused-parameter] 3087 | int mailprivacy_gnupg_set_encryption_id(struct mailprivacy * privacy, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
mailprivacy_gnupg.c:3120:51: warning: unused parameter 'privacy' [-Wunused-parameter] 3120 | static char * get_passphrase(struct mailprivacy * privacy, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
mailprivacy_gnupg.c:1114:55: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4049 [-Wformat-truncation=] 1114 | "gpg --passphrase-fd=0 --batch --yes --decrypt '%s'", | ^~ 1115 | quoted_encrypted_filename); | ~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailprivacy_gnupg.c:729:67: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4068 [-Wformat-truncation=] 729 | snprintf(command, sizeof(command), "gpg --batch --yes --verify '%s' '%s'", | ^~ 730 | quoted_signature_filename, quoted_signed_filename); | ~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailprivacy_gnupg.c:533:55: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4049 [-Wformat-truncation=] 533 | "gpg --passphrase-fd=0 --batch --yes --decrypt '%s'", | ^~ 534 | quoted_encrypted_filename); | ~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailprivacy_gnupg.c:896:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4067 [-Wformat-truncation=] 896 | "gpg --batch --yes --decrypt '%s'", quoted_signed_filename); | ^~ ~~~~~~~~~~~~~~~~~~~~~~ -
mailprivacy_gnupg.c:1537:73: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4033 [-Wformat-truncation=] 1537 | "gpg --passphrase-fd=0 -a --batch --yes --digest-algo sha1 %s -b '%s'", | ^~ 1538 | default_key, quoted_to_sign_filename); | ~~~~~~~~~~~~~~~~~~~~~~~ -
mailprivacy_gnupg.c:2165:43: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4092 [-Wformat-truncation=] 2165 | snprintf(command, sizeof(command), "gpg %s -a --batch --yes -e '%s'", | ^~ 2166 | recipient, quoted_original_filename); | ~~~~~~~~~ -
mailprivacy_gnupg.c:1936:30: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4074 [-Wformat-truncation=] 1936 | "gpg --passphrase-fd=0 %s -a --batch --yes --digest-algo sha1 -s %s -e '%s'", | ^~ 1937 | recipient, default_key, quoted_original_filename); | ~~~~~~~~~ -
mailprivacy_gnupg.c:2383:79: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4027 [-Wformat-truncation=] 2383 | "gpg --passphrase-fd=0 --batch --yes --digest-algo sha1 %s --clearsign '%s'", | ^~ 2384 | default_key, quoted_original_filename); | ~~~~~~~~~~~~~~~~~~~~~~~~ -
mailprivacy_gnupg.c:2566:43: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4092 [-Wformat-truncation=] 2566 | snprintf(command, sizeof(command), "gpg %s --batch --yes -e --armor '%s'", | ^~ 2567 | recipient, quoted_original_filename); | ~~~~~~~~~ -
mailprivacy_gnupg.c:2763:30: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4074 [-Wformat-truncation=] 2763 | "gpg --passphrase-fd=0 %s --batch --yes --digest-algo sha1 " | ^~ 2764 | "%s -e -s -a '%s'", 2765 | recipient, default_key, quoted_original_filename); | ~~~~~~~~~ -
/usr/include/bits/string_fortified.h:29:10: warning: ‘MEM <unsigned short> [(char * {ref-all})&old_prefix]’ may be used uninitialized [-Wmaybe-uninitialized] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ -
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) | ~~~~~~~~^~~~ -
mime-parse.c:355:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 355 | fread(data, 1, stat_info.st_size, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../unittest/smime/smime_low_level_test.c:37:15: warning: ‘fixture_path’ defined but not used [-Wunused-function] 37 | static char * fixture_path(const char * repository_path, | ^~~~~~~~~~~~ -
../unittest/mailpgp/mailpgp_low_level_test.c:69:15: warning: ‘fixture_path’ defined but not used [-Wunused-function] 69 | static char * fixture_path(const char * filename) | ^~~~~~~~~~~~ -
../unittest/mailpgp/mailpgp_low_level_test.c:32:12: warning: ‘read_file’ defined but not used [-Wunused-function] 32 | static int read_file(const char * filename, char ** result, size_t * result_len) | ^~~~~~~~~ -
/usr/include/bits/string_fortified.h:29:10: warning: 'MEM <unsigned short> [(char * {ref-all})&old_prefix]' may be used uninitialized [-Wmaybe-uninitialized] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^ -
smime/smime_low_level_test.c:37:15: warning: ‘fixture_path’ defined but not used [-Wunused-function] 37 | static char * fixture_path(const char * repository_path, | ^~~~~~~~~~~~