Snippets for libetpan 1.10 from Alpine loongarch64
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-loongarch64/community/libetpan/libetpan-1.10-r0.log.
-
hmac-md5.h:67:29: warning: argument 5 of type 'unsigned char[16]' with mismatched bound [-Warray-parameter=] 67 | unsigned char digest[HMAC_MD5_SIZE]); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ -
md5namespace.h:36:17: warning: old-style function definition [-Wold-style-definition] 36 | #define MD5Init lep_MD5Init | ^~~~~~~~~~~ -
md5namespace.h:37:19: warning: old-style function definition [-Wold-style-definition] 37 | #define MD5Update lep_MD5Update | ^~~~~~~~~~~~~ -
md5namespace.h:38:18: warning: old-style function definition [-Wold-style-definition] 38 | #define MD5Final lep_MD5Final | ^~~~~~~~~~~~ -
md5.c:240:13: warning: old-style function definition [-Wold-style-definition] 240 | static void MD5Transform (state, block) | ^~~~~~~~~~~~ -
mailstream_cfstream.c:241:65: warning: unused parameter 'hostname' [-Wunused-parameter] 241 | mailstream * mailstream_cfstream_open_voip_timeout(const char * hostname, int16_t port, int voip_enabled, | ~~~~~~~~~~~~~^~~~~~~~ -
mailstream_cfstream.c:241:83: warning: unused parameter 'port' [-Wunused-parameter] 241 | mailstream * mailstream_cfstream_open_voip_timeout(const char * hostname, int16_t port, int voip_enabled, | ~~~~~~~~^~~~ -
mailstream_cfstream.c:241:93: warning: unused parameter 'voip_enabled' [-Wunused-parameter] 241 | mailstream * mailstream_cfstream_open_voip_timeout(const char * hostname, int16_t port, int voip_enabled, | ~~~~^~~~~~~~~~~~ -
mailstream_cfstream.c:242:10: warning: unused parameter 'timeout' [-Wunused-parameter] 242 | time_t timeout) | ~~~~~~~^~~~~~~ -
mailstream_cfstream.c:502:73: warning: unused parameter 'hostname' [-Wunused-parameter] 502 | mailstream_low * mailstream_low_cfstream_open_voip_timeout(const char * hostname, int16_t port, | ~~~~~~~~~~~~~^~~~~~~~ -
mailstream_cfstream.c:502:91: warning: unused parameter 'port' [-Wunused-parameter] 502 | mailstream_low * mailstream_low_cfstream_open_voip_timeout(const char * hostname, int16_t port, | ~~~~~~~~^~~~ -
mailstream_cfstream.c:503:7: warning: unused parameter 'voip_enabled' [-Wunused-parameter] 503 | int voip_enabled, time_t timeout) | ~~~~^~~~~~~~~~~~ -
mailstream_cfstream.c:503:28: warning: unused parameter 'timeout' [-Wunused-parameter] 503 | int voip_enabled, time_t timeout) | ~~~~~~~^~~~~~~ -
mailstream_cfstream.c:581:59: warning: unused parameter 's' [-Wunused-parameter] 581 | static int mailstream_low_cfstream_close(mailstream_low * s) | ~~~~~~~~~~~~~~~~~^ -
mailstream_cfstream.c:601:59: warning: unused parameter 's' [-Wunused-parameter] 601 | static void mailstream_low_cfstream_free(mailstream_low * s) | ~~~~~~~~~~~~~~~~~^ -
mailstream_cfstream.c:614:60: warning: unused parameter 's' [-Wunused-parameter] 614 | static int mailstream_low_cfstream_get_fd(mailstream_low * s) | ~~~~~~~~~~~~~~~~~^ -
mailstream_cfstream.c:861:62: warning: unused parameter 's' [-Wunused-parameter] 861 | static ssize_t mailstream_low_cfstream_read(mailstream_low * s, | ~~~~~~~~~~~~~~~~~^ -
mailstream_cfstream.c:862:52: warning: unused parameter 'buf' [-Wunused-parameter] 862 | void * buf, size_t count) | ~~~~~~~^~~ -
mailstream_cfstream.c:862:64: warning: unused parameter 'count' [-Wunused-parameter] 862 | void * buf, size_t count) | ~~~~~~~^~~~~ -
mailstream_cfstream.c:896:63: warning: unused parameter 's' [-Wunused-parameter] 896 | static ssize_t mailstream_low_cfstream_write(mailstream_low * s, | ~~~~~~~~~~~~~~~~~^ -
mailstream_cfstream.c:897:59: warning: unused parameter 'buf' [-Wunused-parameter] 897 | const void * buf, size_t count) | ~~~~~~~~~~~~~^~~ -
mailstream_cfstream.c:897:71: warning: unused parameter 'count' [-Wunused-parameter] 897 | const void * buf, size_t count) | ~~~~~~~^~~~~ -
mailstream_cfstream.c:955:61: warning: unused parameter 's' [-Wunused-parameter] 955 | static void mailstream_low_cfstream_cancel(mailstream_low * s) | ~~~~~~~~~~~~~~~~~^ -
mailstream_cfstream.c:975:54: warning: unused parameter 's' [-Wunused-parameter] 975 | int mailstream_cfstream_set_ssl_enabled(mailstream * s, int ssl_enabled) | ~~~~~~~~~~~~~^ -
mailstream_cfstream.c:975:61: warning: unused parameter 'ssl_enabled' [-Wunused-parameter] 975 | int mailstream_cfstream_set_ssl_enabled(mailstream * s, int ssl_enabled) | ~~~~^~~~~~~~~~~ -
mailstream_cfstream.c:1070:53: warning: unused parameter 's' [-Wunused-parameter] 1070 | int mailstream_cfstream_is_ssl_enabled(mailstream * s) | ~~~~~~~~~~~~~^ -
carray.c:60:27: warning: comparison is always false due to limited range of data type [-Wtype-limits] 60 | if (((size_t) initsize) > ((size_t) -1) / sizeof(void *)) { | ^ -
mailstream_cfstream.c:1081:65: warning: unused parameter 's' [-Wunused-parameter] 1081 | void mailstream_cfstream_set_ssl_verification_mask(mailstream * s, int verification_mask) | ~~~~~~~~~~~~~^ -
mailstream_cfstream.c:1081:72: warning: unused parameter 'verification_mask' [-Wunused-parameter] 1081 | void mailstream_cfstream_set_ssl_verification_mask(mailstream * s, int verification_mask) | ~~~~^~~~~~~~~~~~~~~~~ -
mailstream_cfstream.c:1090:57: warning: unused parameter 's' [-Wunused-parameter] 1090 | void mailstream_cfstream_set_ssl_peer_name(mailstream * s, const char * peer_name) | ~~~~~~~~~~~~~^ -
mailstream_cfstream.c:1090:73: warning: unused parameter 'peer_name' [-Wunused-parameter] 1090 | void mailstream_cfstream_set_ssl_peer_name(mailstream * s, const char * peer_name) | ~~~~~~~~~~~~~^~~~~~~~~ -
mailstream_cfstream.c:1106:57: warning: unused parameter 's' [-Wunused-parameter] 1106 | void mailstream_cfstream_set_ssl_is_server(mailstream * s, int is_server) | ~~~~~~~~~~~~~^ -
mailstream_cfstream.c:1106:64: warning: unused parameter 'is_server' [-Wunused-parameter] 1106 | void mailstream_cfstream_set_ssl_is_server(mailstream * s, int is_server) | ~~~~^~~~~~~~~ -
mailstream_cfstream.c:1115:53: warning: unused parameter 's' [-Wunused-parameter] 1115 | void mailstream_cfstream_set_ssl_level(mailstream * s, int ssl_level) | ~~~~~~~~~~~~~^ -
mailstream_cfstream.c:1115:60: warning: unused parameter 'ssl_level' [-Wunused-parameter] 1115 | void mailstream_cfstream_set_ssl_level(mailstream * s, int ssl_level) | ~~~~^~~~~~~~~ -
carray.c:111:22: warning: comparison is always false due to limited range of data type [-Wtype-limits] 111 | if (((size_t) n) > ((size_t) -1) / sizeof(void *)) | ^ -
mailstream_cfstream.c:1129:56: warning: unused parameter 'low' [-Wunused-parameter] 1129 | int mailstream_low_cfstream_wait_idle(mailstream_low * low, int max_idle_delay) | ~~~~~~~~~~~~~~~~~^~~ -
mailstream_cfstream.c:1129:65: warning: unused parameter 'max_idle_delay' [-Wunused-parameter] 1129 | int mailstream_low_cfstream_wait_idle(mailstream_low * low, int max_idle_delay) | ~~~~^~~~~~~~~~~~~~ -
mailstream_cfstream.c:1166:64: warning: unused parameter 's' [-Wunused-parameter] 1166 | static int mailstream_low_cfstream_setup_idle(mailstream_low * s) | ~~~~~~~~~~~~~~~~~^ -
mailstream_cfstream.c:1182:66: warning: unused parameter 's' [-Wunused-parameter] 1182 | static int mailstream_low_cfstream_unsetup_idle(mailstream_low * s) | ~~~~~~~~~~~~~~~~~^ -
mailstream_cfstream.c:1198:68: warning: unused parameter 's' [-Wunused-parameter] 1198 | static int mailstream_low_cfstream_interrupt_idle(mailstream_low * s) | ~~~~~~~~~~~~~~~~~^ -
mailstream_cfstream.c:1233:80: warning: unused parameter 's' [-Wunused-parameter] 1233 | static carray * mailstream_low_cfstream_get_certificate_chain(mailstream_low * s) | ~~~~~~~~~~~~~~~~~^ -
mailstream_cfstream.c:1221:13: warning: 'mailstream_low_cfstream_certificate_chain_free' defined but not used [-Wunused-function] 1221 | static void mailstream_low_cfstream_certificate_chain_free(carray * result) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mail_cache_db.c:77:37: warning: unused parameter 'filename' [-Wunused-parameter] 77 | int mail_cache_db_open(const char * filename, | ~~~~~~~~~~~~~^~~~~~~~ -
mail_cache_db.c:78:29: warning: unused parameter 'pcache_db' [-Wunused-parameter] 78 | struct mail_cache_db ** pcache_db) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
mail_cache_db.c:136:49: warning: unused parameter 'cache_db' [-Wunused-parameter] 136 | void mail_cache_db_close(struct mail_cache_db * cache_db) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ -
mail_cache_db.c:185:46: warning: unused parameter 'cache_db' [-Wunused-parameter] 185 | int mail_cache_db_put(struct mail_cache_db * cache_db, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ -
mail_cache_db.c:186:18: warning: unused parameter 'key' [-Wunused-parameter] 186 | const void * key, size_t key_len, const void * value, size_t value_len) | ~~~~~~~~~~~~~^~~ -
mail_cache_db.c:186:30: warning: unused parameter 'key_len' [-Wunused-parameter] 186 | const void * key, size_t key_len, const void * value, size_t value_len) | ~~~~~~~^~~~~~~ -
mail_cache_db.c:186:52: warning: unused parameter 'value' [-Wunused-parameter] 186 | const void * key, size_t key_len, const void * value, size_t value_len) | ~~~~~~~~~~~~~^~~~~ -
mail_cache_db.c:186:66: warning: unused parameter 'value_len' [-Wunused-parameter] 186 | const void * key, size_t key_len, const void * value, size_t value_len) | ~~~~~~~^~~~~~~~~ -
mail_cache_db.c:219:46: warning: unused parameter 'cache_db' [-Wunused-parameter] 219 | int mail_cache_db_get(struct mail_cache_db * cache_db, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ -
mail_cache_db.c:220:18: warning: unused parameter 'key' [-Wunused-parameter] 220 | const void * key, size_t key_len, void ** pvalue, size_t * pvalue_len) | ~~~~~~~~~~~~~^~~ -
mail_cache_db.c:220:30: warning: unused parameter 'key_len' [-Wunused-parameter] 220 | const void * key, size_t key_len, void ** pvalue, size_t * pvalue_len) | ~~~~~~~^~~~~~~ -
mail_cache_db.c:220:47: warning: unused parameter 'pvalue' [-Wunused-parameter] 220 | const void * key, size_t key_len, void ** pvalue, size_t * pvalue_len) | ~~~~~~~~^~~~~~ -
mail_cache_db.c:220:64: warning: unused parameter 'pvalue_len' [-Wunused-parameter] 220 | const void * key, size_t key_len, void ** pvalue, size_t * pvalue_len) | ~~~~~~~~~^~~~~~~~~~ -
mailstream.c:261:41: warning: unused parameter 's' [-Wunused-parameter] 261 | static void low_logger(mailstream_low * s, int log_type, | ~~~~~~~~~~~~~~~~~^ -
mail_cache_db.c:255:46: warning: unused parameter 'cache_db' [-Wunused-parameter] 255 | int mail_cache_db_del(struct mail_cache_db * cache_db, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ -
mail_cache_db.c:256:18: warning: unused parameter 'key' [-Wunused-parameter] 256 | const void * key, size_t key_len) | ~~~~~~~~~~~~~^~~ -
mail_cache_db.c:256:30: warning: unused parameter 'key_len' [-Wunused-parameter] 256 | const void * key, size_t key_len) | ~~~~~~~^~~~~~~ -
md5.c:335:13: warning: old-style function definition [-Wold-style-definition] 335 | static void Encode (output, input, len) | ^~~~~~ -
mail_cache_db.c:370:51: warning: unused parameter 'cache_db' [-Wunused-parameter] 370 | int mail_cache_db_clean_up(struct mail_cache_db * cache_db, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ -
mail_cache_db.c:371:13: warning: unused parameter 'exist' [-Wunused-parameter] 371 | chash * exist) | ~~~~~~~~^~~~~ -
mail_cache_db.c:377:51: warning: unused parameter 'cache_db' [-Wunused-parameter] 377 | int mail_cache_db_get_size(struct mail_cache_db * cache_db, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ -
mail_cache_db.c:378:18: warning: unused parameter 'key' [-Wunused-parameter] 378 | const void * key, size_t key_len, size_t * pvalue_len) | ~~~~~~~~~~~~~^~~ -
mail_cache_db.c:378:30: warning: unused parameter 'key_len' [-Wunused-parameter] 378 | const void * key, size_t key_len, size_t * pvalue_len) | ~~~~~~~^~~~~~~ -
mail_cache_db.c:378:48: warning: unused parameter 'pvalue_len' [-Wunused-parameter] 378 | const void * key, size_t key_len, size_t * pvalue_len) | ~~~~~~~~~^~~~~~~~~~ -
md5.c:355:13: warning: old-style function definition [-Wold-style-definition] 355 | static void Decode (output, input, len) | ^~~~~~ -
mail_cache_db.c:497:51: warning: unused parameter 'cache_db' [-Wunused-parameter] 497 | int mail_cache_db_get_keys(struct mail_cache_db * cache_db, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ -
mail_cache_db.c:498:13: warning: unused parameter 'keys' [-Wunused-parameter] 498 | chash * keys) | ~~~~~~~~^~~~ -
md5.c:371:13: warning: old-style function definition [-Wold-style-definition] 371 | static void MD5_memcpy (output, input, len) | ^~~~~~~~~~ -
md5.c:385:13: warning: old-style function definition [-Wold-style-definition] 385 | static void MD5_memset (output, value, len) | ^~~~~~~~~~ -
md5namespace.h:39:18: warning: old-style function definition [-Wold-style-definition] 39 | #define hmac_md5 lep_hmac_md5 | ^~~~~~~~~~~~ -
mailstream_ssl.c:120:3: warning: 'gnutls_session' is deprecated [-Wdeprecated-declarations] 120 | gnutls_session session; | ^~~~~~~~~~~~~~ -
mailstream_ssl.c:121:3: warning: 'gnutls_x509_crt' is deprecated [-Wdeprecated-declarations] 121 | gnutls_x509_crt client_x509; | ^~~~~~~~~~~~~~~ -
mailstream_ssl.c:122:3: warning: 'gnutls_x509_privkey' is deprecated [-Wdeprecated-declarations] 122 | gnutls_x509_privkey client_pkey; | ^~~~~~~~~~~~~~~~~~~ -
mailstream_ssl.c:140:3: warning: 'gnutls_session' is deprecated [-Wdeprecated-declarations] 140 | gnutls_session session; | ^~~~~~~~~~~~~~ -
mailstream_ssl.c:553:15: warning: 'gnutls_session' is deprecated [-Wdeprecated-declarations] 553 | static struct mailstream_ssl_context * mailstream_ssl_context_new(gnutls_session session, int fd); | ^~~~~~~~~~~~~~~~~~~~~~ -
mailstream_ssl.c:562:1: warning: 'gnutls_session' is deprecated [-Wdeprecated-declarations] 562 | static int mailstream_gnutls_client_cert_cb(gnutls_session session, | ^~~~~~ -
mailstream_ssl.c:563:32: warning: 'gnutls_datum' is deprecated [-Wdeprecated-declarations] 563 | const gnutls_datum *req_ca_rdn, int nreqs, | ^~~~~ -
mailstream_ssl.c:564:32: warning: 'gnutls_pk_algorithm' is deprecated [-Wdeprecated-declarations] 564 | const gnutls_pk_algorithm *sign_algos, | ^~~~~ -
mailstream_ssl.c:569:9: warning: 'gnutls_certificate_type' is deprecated [-Wdeprecated-declarations] 569 | gnutls_certificate_type type = gnutls_certificate_type_get(session); | ^~~~~~~~~~~~~~~~~~~~~~~ -
mailstream_ssl.c:563:52: warning: unused parameter 'req_ca_rdn' [-Wunused-parameter] 563 | const gnutls_datum *req_ca_rdn, int nreqs, | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailstream_ssl.c:563:68: warning: unused parameter 'nreqs' [-Wunused-parameter] 563 | const gnutls_datum *req_ca_rdn, int nreqs, | ~~~~^~~~~ -
mailstream_ssl.c:564:59: warning: unused parameter 'sign_algos' [-Wunused-parameter] 564 | const gnutls_pk_algorithm *sign_algos, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailstream_ssl.c:565:36: warning: unused parameter 'sign_algos_length' [-Wunused-parameter] 565 | int sign_algos_length, gnutls_retr2_st *st) | ~~~~^~~~~~~~~~~~~~~~~ -
mailstream_ssl.c:595:3: warning: 'gnutls_session' is deprecated [-Wdeprecated-declarations] 595 | gnutls_session session; | ^~~~~~~~~~~~~~ -
mailstream_ssl.c:629:3: warning: 'gnutls_transport_ptr' is deprecated [-Wdeprecated-declarations] 629 | gnutls_transport_set_ptr(session, (gnutls_transport_ptr) fd); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
mailstream_ssl.c:629:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 629 | gnutls_transport_set_ptr(session, (gnutls_transport_ptr) fd); | ^ -
mailstream_ssl.c:727:66: warning: unused parameter 'starttls' [-Wunused-parameter] 727 | static mailstream_low * mailstream_low_ssl_open_full(int fd, int starttls, time_t timeout, | ~~~~^~~~~~~~ -
mailstream_ssl.c:1172:3: warning: 'gnutls_session' is deprecated [-Wdeprecated-declarations] 1172 | gnutls_session session = NULL; | ^~~~~~~~~~~~~~ -
mailstream_ssl.c:1173:3: warning: 'gnutls_datum' is deprecated [-Wdeprecated-declarations] 1173 | const gnutls_datum *raw_cert_list; | ^~~~~ -
mailstream_ssl.c:1175:3: warning: 'gnutls_x509_crt' is deprecated [-Wdeprecated-declarations] 1175 | gnutls_x509_crt cert = NULL; | ^~~~~~~~~~~~~~~ -
mailstream_ssl.c:1269:73: warning: unused parameter 'ssl_context' [-Wunused-parameter] 1269 | int mailstream_ssl_set_client_certicate(struct mailstream_ssl_context * ssl_context, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -
mailstream_ssl.c:1270:12: warning: unused parameter 'filename' [-Wunused-parameter] 1270 | char * filename) | ~~~~~~~^~~~~~~~ -
mailstream_ssl.c:1306:3: warning: 'gnutls_datum' is deprecated [-Wdeprecated-declarations] 1306 | gnutls_datum tmp; | ^~~~~~~~~~~~ -
mailstream_ssl.c:1335:3: warning: 'gnutls_datum' is deprecated [-Wdeprecated-declarations] 1335 | gnutls_datum tmp; | ^~~~~~~~~~~~ -
mailstream_ssl.c:1354:73: warning: unused parameter 'ssl_context' [-Wunused-parameter] 1354 | int mailstream_ssl_set_server_certicate(struct mailstream_ssl_context * ssl_context, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -
mailstream_ssl.c:1355:12: warning: unused parameter 'CAfile' [-Wunused-parameter] 1355 | char * CAfile, char * CApath) | ~~~~~~~^~~~~~ -
mailstream_ssl.c:1355:27: warning: unused parameter 'CApath' [-Wunused-parameter] 1355 | char * CAfile, char * CApath) | ~~~~~~~^~~~~~ -
mailstream_ssl.c:1448:15: warning: 'gnutls_session' is deprecated [-Wdeprecated-declarations] 1448 | static struct mailstream_ssl_context * mailstream_ssl_context_new(gnutls_session session, int fd) | ^~~~~~~~~~~~~~~~~~~~~~ -
mailstream_ssl.c:1477:75: warning: unused parameter 'ssl_context' [-Wunused-parameter] 1477 | void * mailstream_ssl_get_openssl_ssl_ctx(struct mailstream_ssl_context * ssl_context) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -
mailstream_ssl.c:1565:3: warning: 'gnutls_session' is deprecated [-Wdeprecated-declarations] 1565 | gnutls_session session = NULL; | ^~~~~~~~~~~~~~ -
mailstream_ssl.c:1566:3: warning: 'gnutls_datum' is deprecated [-Wdeprecated-declarations] 1566 | const gnutls_datum *raw_cert_list; | ^~~~~ -
mailstream_ssl.c:1582:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1582 | for(skpos = 0 ; skpos < raw_cert_list_length ; skpos ++) { | ^ -
mailstream_ssl.c:1583:5: warning: 'gnutls_x509_crt' is deprecated [-Wdeprecated-declarations] 1583 | gnutls_x509_crt cert = NULL; | ^~~~~~~~~~~~~~~ -
mailstream_ssl.c:323:12: warning: 'wait_SSL_connect' defined but not used [-Wunused-function] 323 | static int wait_SSL_connect(int s, int want_read, time_t timeout_seconds) | ^~~~~~~~~~~~~~~~ -
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) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
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); | ^ -
acl_types.c:98:5: warning: cast between incompatible function types from 'void (*)(struct mailimap_acl_identifier_rights *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 98 | (clist_func) mailimap_acl_identifier_rights_free, NULL); | ^ -
acl_types.c:127:5: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 127 | (clist_func) mailimap_acl_rights_free, NULL); | ^ -
mailimap_keywords.c:87:38: warning: unused parameter 'fd' [-Wunused-parameter] 87 | int mailimap_char_parse(mailstream * fd, MMAPString * buffer, | ~~~~~~~~~~~~~^~ -
mailimap_keywords.c:103:39: warning: unused parameter 'fd' [-Wunused-parameter] 103 | int mailimap_space_parse(mailstream * fd, MMAPString * buffer, | ~~~~~~~~~~~~~^~ -
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); | ^ -
mailimap_types_helper.c:1347:26: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1347 | clist_foreach(id_list, (clist_func) free, NULL); | ^ -
annotatemore_types.c:109:9: warning: cast between incompatible function types from 'void (*)(struct mailimap_annotatemore_att_value *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 109 | (clist_func) mailimap_annotatemore_att_value_free, NULL); | ^ -
annotatemore_types.c:192:9: warning: cast between incompatible function types from 'void (*)(struct mailimap_annotatemore_entry_att *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 192 | (clist_func) mailimap_annotatemore_entry_att_free, NULL); | ^ -
annotatemore_types.c:198:9: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 198 | (clist_func) mailimap_annotatemore_entry_free, NULL); | ^ -
mailimap_types.c:279:32: warning: cast between incompatible function types from 'void (*)(struct mailimap_body_extension *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 279 | clist_foreach(body_ext_list, (clist_func) mailimap_body_extension_free, | ^ -
mailimap_parser.c:776:112: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 776 | static int mailimap_unstrict_char_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
annotatemore_types.c:253:44: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 253 | clist_foreach(en_list->entry_match_list, (clist_func) free, NULL); | ^ -
annotatemore_types.c:276:45: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 276 | clist_foreach(at_list->attrib_match_list, (clist_func) 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); | ^ -
annotatemore_types.c:366:7: warning: cast between incompatible function types from 'void (*)(struct mailimap_annotatemore_entry_att *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 366 | (clist_func) mailimap_annotatemore_entry_att_free, NULL); | ^ -
mailimap_parser.c:881:98: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 881 | int mailimap_dquote_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
acl.c:281:9: warning: cast between incompatible function types from 'void (*)(struct mailimap_extension_data *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 281 | (clist_func) mailimap_extension_data_free, NULL); | ^ -
mailimap_types.c:508:9: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 508 | (clist_func) mailimap_string_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) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
mailimap_parser.c:984:30: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 984 | clist_foreach(struct_list, (clist_func) destructor, NULL); | ^ -
mailimap_types.c:574:17: warning: cast between incompatible function types from 'void (*)(struct mailimap_single_body_fld_param *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 574 | (clist_func) mailimap_single_body_fld_param_free, NULL); | ^ -
idle.c:122:11: warning: cast between incompatible function types from 'void (*)(struct mailimap_response_data *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 122 | (clist_func) mailimap_response_data_free, NULL); | ^ -
acl.c:358:9: warning: cast between incompatible function types from 'void (*)(struct mailimap_extension_data *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 358 | (clist_func) mailimap_extension_data_free, NULL); | ^ -
mailimap_parser.c:1049:30: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1049 | clist_foreach(struct_list, (clist_func) destructor, NULL); | ^ -
mailimap_parser.c:1137:30: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1137 | clist_foreach(struct_list, (clist_func) destructor, NULL); | ^ -
mailimap_types.c:684:17: warning: cast between incompatible function types from 'void (*)(struct mailimap_body *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 684 | (clist_func) mailimap_body_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); | ^ -
mailimap_parser.c:1218:30: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1218 | clist_foreach(struct_list, (clist_func) destructor, NULL); | ^ -
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, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailimap_types.c:815:9: warning: cast between incompatible function types from 'void (*)(struct mailimap_capability *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 815 | (clist_func) mailimap_capability_free, NULL); | ^ -
mailimap_parser.c:1259:101: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 1259 | mailimap_custom_string_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:1315:39: warning: unused parameter 'progr_rate' [-Wunused-parameter] 1315 | size_t progr_rate, | ~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:1316:52: warning: unused parameter 'progr_fun' [-Wunused-parameter] 1316 | progress_function * progr_fun) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
mailimap_parser.c:1368:46: warning: unused parameter 'fd' [-Wunused-parameter] 1368 | static int mailimap_digit_parse(mailstream * fd, MMAPString * buffer, | ~~~~~~~~~~~~~^~ -
mailimap_types.c:954:30: warning: cast between incompatible function types from 'void (*)(struct mailimap_address *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 954 | clist_foreach(addr_list, (clist_func) mailimap_address_free, NULL); | ^ -
mailimap_socket.c:65:88: warning: unused parameter 'voip_enabled' [-Wunused-parameter] 65 | int mailimap_socket_connect_voip(mailimap * f, const char * server, uint16_t port, int voip_enabled) | ~~~~^~~~~~~~~~~~ -
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); | ^ -
mailimap_parser.c:1585:36: warning: unused parameter 'progr_rate' [-Wunused-parameter] 1585 | size_t progr_rate, | ~~~~~~~^~~~~~~~~~ -
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); | ^ -
mailimap_parser.c:1586:49: warning: unused parameter 'progr_fun' [-Wunused-parameter] 1586 | progress_function * progr_fun) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
quota_types.c:91:7: warning: cast between incompatible function types from 'void (*)(struct mailimap_quota_quota_resource *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 91 | (clist_func) &mailimap_quota_quota_resource_free, NULL); | ^ -
quota_types.c:118:7: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 118 | (clist_func) &mailimap_astring_free, NULL); | ^ -
mailimap_parser.c:1650:32: warning: unused parameter 'progr_rate' [-Wunused-parameter] 1650 | size_t progr_rate, | ~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:1651:45: warning: unused parameter 'progr_fun' [-Wunused-parameter] 1651 | progress_function * progr_fun) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
quota_types.c:147:7: warning: cast between incompatible function types from 'void (*)(struct mailimap_quota_quota_data *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 147 | (clist_func) &mailimap_quota_quota_data_free, NULL); | ^ -
mailimap_parser.c:1726:47: warning: unused parameter 'fd' [-Wunused-parameter] 1726 | static int mailimap_base64_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ~~~~~~~~~~~~~^~ -
mailimap_parser.c:1726:105: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 1726 | static int mailimap_base64_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:1728:41: warning: unused parameter 'progr_rate' [-Wunused-parameter] 1728 | size_t progr_rate, | ~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:1729:54: warning: unused parameter 'progr_fun' [-Wunused-parameter] 1729 | 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_types.c:1207:39: warning: cast between incompatible function types from 'void (*)(struct mailimap_flag *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1207 | clist_foreach(flag_list->fl_list, (clist_func) mailimap_flag_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_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_parser.c:1938:23: warning: cast between incompatible function types from 'void (*)(struct mailimap_body_extension *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1938 | clist_foreach(list, (clist_func) mailimap_body_extension_free, NULL); | ^ -
mailimap_types.c:1313:7: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1313 | (clist_func) mailimap_header_fld_name_free, | ^ -
mailimap_parser.c:2022:19: warning: cast between incompatible function types from 'void (*)(struct mailimap_body_extension *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2022 | (clist_func) mailimap_body_extension_free, | ^ -
mailimap_types.c:1385:30: warning: cast between incompatible function types from 'void (*)(uint32_t *)' {aka 'void (*)(unsigned int *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 1385 | clist_foreach(data_search, (clist_func) mailimap_number_alloc_free, NULL); | ^ -
mailimap_types.c:1395:39: warning: cast between incompatible function types from 'void (*)(struct mailimap_status_info *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1395 | clist_foreach(info->st_info_list, (clist_func) mailimap_status_info_free, | ^ -
mailimap_parser.c:2264:34: warning: cast between incompatible function types from 'void (*)(struct mailimap_body_extension *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2264 | clist_foreach(body_ext_list, (clist_func) mailimap_body_extension_free, | ^ -
mailimap_types.c:1534:7: warning: cast between incompatible function types from 'void (*)(struct mailimap_mbx_list_oflag *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1534 | (clist_func) mailimap_mbx_list_oflag_free, | ^ -
mailimap_ssl.c:70:99: warning: unused parameter 'voip_enabled' [-Wunused-parameter] 70 | int mailimap_ssl_connect_voip_with_callback(mailimap * f, const char * server, uint16_t port, int voip_enabled, | ~~~~^~~~~~~~~~~~ -
mailimap_parser.c:2345:34: warning: cast between incompatible function types from 'void (*)(struct mailimap_body_extension *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2345 | clist_foreach(body_ext_list, (clist_func) mailimap_body_extension_free, | ^ -
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); | ^ -
mailimap_types.c:1742:7: warning: cast between incompatible function types from 'void (*)(struct mailimap_msg_att_item *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1742 | (clist_func) mailimap_msg_att_item_free, NULL); | ^ -
mailimap_parser.c:2621:12: warning: unused parameter 'progr_rate' [-Wunused-parameter] 2621 | size_t progr_rate, | ~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:2622:25: warning: unused parameter 'progr_fun' [-Wunused-parameter] 2622 | progress_function * progr_fun) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
mailimap_types.c:1770:9: warning: cast between incompatible function types from 'void (*)(struct mailimap_flag_fetch *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1770 | (clist_func) mailimap_flag_fetch_free, | ^ -
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_parser.c:2830:23: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2830 | clist_foreach(list, (clist_func) mailimap_string_free, NULL); | ^ -
mailimap_parser.c:2894:25: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2894 | clist_foreach(list, (clist_func) mailimap_string_free, NULL); | ^ -
mailimap_parser.c:2906:96: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 2906 | MMAPString * buffer, struct mailimap_parser_context * parser_ctx, size_t * indx, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailimap_types.c:2053:9: warning: cast between incompatible function types from 'void (*)(struct mailimap_cont_req_or_resp_data *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2053 | (clist_func) mailimap_cont_req_or_resp_data_free, NULL); | ^ -
mailimap_parser.c:3111:70: warning: unused parameter 'value' [-Wunused-parameter] 3111 | static void mailimap_broken_single_body_fld_param_string_free(char * value) | ~~~~~~~^~~~~ -
mailimap_parser.c:3224:21: warning: cast between incompatible function types from 'void (*)(struct mailimap_single_body_fld_param *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 3224 | (clist_func) mailimap_single_body_fld_param_free, | ^ -
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_parser.c:3276:19: warning: cast between incompatible function types from 'void (*)(struct mailimap_single_body_fld_param *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 3276 | (clist_func) mailimap_single_body_fld_param_free, | ^ -
mailimap_types.c:2391:11: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2391 | (clist_func) mailimap_astring_free, | ^ -
mailimap_types.c:2403:11: warning: cast between incompatible function types from 'void (*)(struct mailimap_flag_perm *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2403 | (clist_func) mailimap_flag_perm_free, NULL); | ^ -
mailimap_parser.c:3579:28: warning: cast between incompatible function types from 'void (*)(struct mailimap_body *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 3579 | clist_foreach(body_list, (clist_func) mailimap_body_free, NULL); | ^ -
mailimap.c:1700:41: warning: unused parameter 'conn' [-Wunused-parameter] 1700 | static int sasl_getsecret(sasl_conn_t * conn, void * context, int id, | ~~~~~~~~~~~~~~^~~~ -
mailimap.c:1718:19: warning: unused parameter 'availrealms' [-Wunused-parameter] 1718 | const char ** availrealms, | ~~~~~~~~~~~~~~^~~~~~~~~~~ -
mailimap.c:1763:28: warning: cast between incompatible function types from 'int (*)(void *, int, const char **, const char **)' to 'int (*)(void)' [-Wcast-function-type] 1763 | sasl_callback[0].proc = (int(*)(void)) sasl_getrealm; | ^ -
mailimap.c:1766:28: warning: cast between incompatible function types from 'int (*)(void *, int, const char **, unsigned int *)' to 'int (*)(void)' [-Wcast-function-type] 1766 | sasl_callback[1].proc = (int(*)(void)) sasl_getsimple; | ^ -
mailimap.c:1769:28: warning: cast between incompatible function types from 'int (*)(void *, int, const char **, unsigned int *)' to 'int (*)(void)' [-Wcast-function-type] 1769 | sasl_callback[2].proc = (int(*)(void)) sasl_getsimple; | ^ -
mailimap.c:1772: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] 1772 | sasl_callback[3].proc = (int(*)(void)) sasl_getsecret; | ^ -
mailimap_types.c:2494:7: warning: cast between incompatible function types from 'void (*)(uint32_t *)' {aka 'void (*)(unsigned int *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 2494 | (clist_func) mailimap_number_alloc_free, NULL); | ^ -
mailimap_types.c:2680:32: warning: cast between incompatible function types from 'void (*)(struct mailimap_set_item *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2680 | clist_foreach(set->set_list, (clist_func) mailimap_set_item_free, NULL); | ^ -
mailimap_parser.c:4008:29: warning: cast between incompatible function types from 'void (*)(struct mailimap_capability *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 4008 | clist_foreach(cap_list, (clist_func) mailimap_capability_free, NULL); | ^ -
mailimap.c:2049:23: warning: cast between incompatible function types from 'void (*)(struct mailimap_mailbox_list *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2049 | clist_foreach(list, (clist_func) mailimap_mailbox_list_free, NULL); | ^ -
mailimap_types.c:2777:9: warning: cast between incompatible function types from 'void (*)(struct mailimap_fetch_att *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2777 | (clist_func) mailimap_fetch_att_free, NULL); | ^ -
mailimap_parser.c:4290:109: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 4290 | static int mailimap_date_month_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:4377:108: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 4377 | static int mailimap_date_year_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailimap.c:2131:32: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2131 | clist_foreach(search_result, (clist_func) free, NULL); | ^ -
mailimap_parser.c:4470:53: warning: unused parameter 'progr_rate' [-Wunused-parameter] 4470 | size_t progr_rate, | ~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:4471:66: warning: unused parameter 'progr_fun' [-Wunused-parameter] 4471 | progress_function * progr_fun) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
mailimap_types.c:3031:9: warning: cast between incompatible function types from 'void (*)(struct mailimap_search_key *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 3031 | (clist_func) mailimap_search_key_free, NULL); | ^ -
mailimap_types.c:3069:44: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 3069 | clist_foreach(status_att_list->att_list, (clist_func) free, NULL); | ^ -
mailimap_types.c:3111:9: warning: cast between incompatible function types from 'void (*)(struct mailimap_flag_perm *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 3111 | (clist_func) mailimap_flag_perm_free, NULL); | ^ -
mailimap_types.c:3213:9: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 3213 | (clist_func) mailimap_astring_free, NULL); | ^ -
mailimap_types.c:3218:9: warning: cast between incompatible function types from 'void (*)(struct mailimap_mailbox_list *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 3218 | (clist_func) mailimap_mailbox_list_free, NULL); | ^ -
mailimap_types.c:3223:7: warning: cast between incompatible function types from 'void (*)(struct mailimap_extension_data *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 3223 | (clist_func) mailimap_extension_data_free, NULL); | ^ -
mailimap_types.c:3228:9: warning: cast between incompatible function types from 'void (*)(struct mailimap_mailbox_list *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 3228 | (clist_func) mailimap_mailbox_list_free, NULL); | ^ -
mailimap_parser.c:4997:27: warning: cast between incompatible function types from 'void (*)(struct mailimap_address *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 4997 | clist_foreach(list, (clist_func) mailimap_address_free, NULL); | ^ -
mailimap_types.c:3237:20: warning: cast between incompatible function types from 'void (*)(uint32_t *)' {aka 'void (*)(unsigned int *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 3237 | (clist_func) mailimap_number_alloc_free, NULL); | ^ -
mailimap_types.c:3242:19: warning: cast between incompatible function types from 'void (*)(struct mailimap_msg_att *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 3242 | (clist_func) mailimap_msg_att_free, NULL); | ^ -
mailimap_parser.c:5139:33: warning: cast between incompatible function types from 'void (*)(struct mailimap_address *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 5139 | clist_foreach(address_list, (clist_func) mailimap_address_free, NULL); | ^ -
mailimap_parser.c:5184:23: warning: cast between incompatible function types from 'void (*)(struct mailimap_address *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 5184 | clist_foreach(list, (clist_func) mailimap_address_free, NULL); | ^ -
mailimap_parser.c:5228:23: warning: cast between incompatible function types from 'void (*)(struct mailimap_address *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 5228 | clist_foreach(list, (clist_func) mailimap_address_free, NULL); | ^ -
mailimap.c:2795:45: warning: unused parameter 's' [-Wunused-parameter] 2795 | static inline void imap_logger(mailstream * s, int log_type, | ~~~~~~~~~~~~~^ -
mailimap_parser.c:5285:23: warning: cast between incompatible function types from 'void (*)(struct mailimap_address *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 5285 | clist_foreach(list, (clist_func) mailimap_address_free, NULL); | ^ -
mailimap_parser.c:5358:23: warning: cast between incompatible function types from 'void (*)(struct mailimap_address *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 5358 | clist_foreach(list, (clist_func) mailimap_address_free, NULL); | ^ -
mailimap_parser.c:5403:23: warning: cast between incompatible function types from 'void (*)(struct mailimap_address *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 5403 | clist_foreach(list, (clist_func) mailimap_address_free, NULL); | ^ -
mailimap_parser.c:5462:23: warning: cast between incompatible function types from 'void (*)(struct mailimap_address *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 5462 | clist_foreach(list, (clist_func) mailimap_address_free, NULL); | ^ -
mailimap_parser.c:5744:25: warning: cast between incompatible function types from 'void (*)(struct mailimap_flag *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 5744 | clist_foreach(list, (clist_func) mailimap_flag_free, NULL); | ^ -
mailimap_parser.c:5961:23: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 5961 | clist_foreach(list, (clist_func) mailimap_header_fld_name_free, NULL); | ^ -
mailimap_parser.c:6186:37: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 6186 | if (search_end - search_beg >= tag_response_end_len && | ^~ -
mailimap_parser.c:6007:68: warning: unused parameter 'items_progr_fun' [-Wunused-parameter] 6007 | mailprogress_function * items_progr_fun, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ -
mailimap_parser.c:6009:71: warning: unused parameter 'msg_att_handler' [-Wunused-parameter] 6009 | mailimap_msg_att_handler * msg_att_handler, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ -
mailimap_parser.c:6010:51: warning: unused parameter 'msg_att_context' [-Wunused-parameter] 6010 | void * msg_att_context) | ~~~~~~~^~~~~~~~~~~~~~~ -
mailimap_parser.c:6687:37: warning: cast between incompatible function types from 'void (*)(struct mailimap_status_info *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 6687 | clist_foreach(status_info_list, (clist_func) mailimap_status_info_free, | ^ -
mailimap_parser.c:6702:107: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 6702 | mailimap_mailbox_data_exists_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:6735:107: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 6735 | mailimap_mailbox_data_recent_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:7149:25: warning: cast between incompatible function types from 'void (*)(struct mailimap_mbx_list_oflag *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 7149 | clist_foreach(oflags, (clist_func) mailimap_mbx_list_oflag_free, NULL); | ^ -
mailimap_parser.c:7248:102: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 7248 | mailimap_mbx_list_sflag_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:7816:23: warning: cast between incompatible function types from 'void (*)(struct mailimap_msg_att_item *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 7816 | clist_foreach(list, (clist_func) mailimap_msg_att_item_free, NULL); | ^ -
mailimap_parser.c:7894:25: warning: cast between incompatible function types from 'void (*)(struct mailimap_flag_fetch *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 7894 | clist_foreach(list, (clist_func) mailimap_flag_fetch_free, NULL); | ^ -
mailimap_parser.c:8147:107: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 8147 | mailimap_msg_att_rfc822_size_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:8579:95: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 8579 | int mailimap_nil_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:8699:97: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 8699 | mailimap_nz_number_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:8762:30: warning: unused parameter 'progr_rate' [-Wunused-parameter] 8762 | size_t progr_rate, | ~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:8763:43: warning: unused parameter 'progr_fun' [-Wunused-parameter] 8763 | progress_function * progr_fun) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
mailimap_parser.c:8917:45: warning: unused parameter 'fd' [-Wunused-parameter] 8917 | mailimap_quoted_specials_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ~~~~~~~~~~~~~^~ -
mailimap_parser.c:8917:103: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 8917 | mailimap_quoted_specials_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:9152:19: warning: cast between incompatible function types from 'void (*)(struct mailimap_cont_req_or_resp_data *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 9152 | (clist_func) mailimap_cont_req_or_resp_data_free, NULL); | ^ -
mailimap_parser.c:9862:104: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 9862 | mailimap_resp_text_code_1_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:9941:26: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 9941 | clist_foreach(charset, (clist_func) mailimap_string_free, NULL); | ^ -
mailimap_parser.c:10047:29: warning: cast between incompatible function types from 'void (*)(struct mailimap_flag_perm *)' to 'void (*)(void *, void *)' [-Wcast-function-type]
-
mailimap_parser.c:10065:45: warning: unused parameter 'progr_rate' [-Wunused-parameter]
-
mailimap_parser.c:10066:58: warning: unused parameter 'progr_fun' [-Wunused-parameter]
-
mailimap_parser.c:10138:46: warning: unused parameter 'progr_rate' [-Wunused-parameter]
-
mailimap_parser.c:10139:59: warning: unused parameter 'progr_fun' [-Wunused-parameter]
-
mailimap_parser.c:10353:19: warning: cast between incompatible function types from 'void (*)(struct mailimap_flag_perm *)' to 'void (*)(void *, void *)' [-Wcast-function-type]
-
mailimap_parser.c:10359:31: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type]
-
mailimap_parser.c:10565: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:10767:102: warning: unused parameter 'parser_ctx' [-Wunused-parameter]
-
mailimap_parser.c:10882:38: warning: unused parameter 'progr_rate' [-Wunused-parameter]
-
mailimap_parser.c:10883:51: warning: unused parameter 'progr_fun' [-Wunused-parameter]
-
mailimap_parser.c:10908:39: warning: unused parameter 'progr_rate' [-Wunused-parameter]
-
mailimap_parser.c:10909:52: warning: unused parameter 'progr_fun' [-Wunused-parameter]
-
mailimap_parser.c:10937:105: warning: unused parameter 'parser_ctx' [-Wunused-parameter]
-
mailimap_parser.c:11120:98: warning: unused parameter 'parser_ctx' [-Wunused-parameter]
-
mailimap_parser.c:11221:10: warning: unused parameter 'progr_rate' [-Wunused-parameter]
-
mailimap_parser.c:11222:23: warning: unused parameter 'progr_fun' [-Wunused-parameter]
-
mailimap_parser.c:11279:30: warning: cast between incompatible function types from 'void (*)(struct mailimap_set_item *)' to 'void (*)(void *, void *)' [-Wcast-function-type]
-
xgmlabels.c:84:34: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 84 | clist_foreach(att->att_labels, (clist_func) mailimap_astring_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) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
xgmlabels.c:181:25: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 181 | clist_foreach(list, (clist_func) mailimap_astring_free, NULL); | ^ -
xgmlabels.c:213:31: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 213 | clist_foreach(label_list, (clist_func) mailimap_astring_free, NULL); | ^ -
xgmlabels.c:228:43: warning: unused parameter 'progr_rate' [-Wunused-parameter] 228 | size_t progr_rate, progress_function * progr_fun) | ~~~~~~~^~~~~~~~~~ -
xgmlabels.c:228:75: warning: unused parameter 'progr_fun' [-Wunused-parameter] 228 | size_t progr_rate, progress_function * progr_fun) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
xgmthrid.c:68:65: warning: unused parameter 'progr_rate' [-Wunused-parameter] 68 | uint64_t * result, size_t progr_rate, progress_function * progr_fun) | ~~~~~~~^~~~~~~~~~ -
xgmthrid.c:68:97: warning: unused parameter 'progr_fun' [-Wunused-parameter] 68 | uint64_t * result, size_t progr_rate, progress_function * progr_fun) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
xgmthrid.c:97:90: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 97 | MMAPString * buffer, struct mailimap_parser_context * parser_ctx, size_t * indx, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailimap_id_types.c:54:34: warning: cast between incompatible function types from 'void (*)(struct mailimap_id_param *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 54 | clist_foreach(list->idpa_list, (clist_func) mailimap_id_param_free, NULL); | ^ -
condstore_types.c:115:50: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 115 | clist_foreach(search_data->cs_search_result, (clist_func) 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); | ^ -
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, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
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_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); | ^ -
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, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
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:253:37: warning: cast between incompatible function types from 'void (*)(struct mailimf_address *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 253 | clist_foreach(addr_list->ad_list, (clist_func) mailimf_address_free, NULL); | ^ -
mailimf_types.c:527:37: warning: cast between incompatible function types from 'void (*)(struct mailimf_field *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 527 | clist_foreach(fields->fld_list, (clist_func) mailimf_field_free, NULL); | ^ -
mailimf_types.c:731:17: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 731 | (clist_func) mailimf_msg_id_free, NULL); | ^ -
mailimf_types.c:754:7: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 754 | (clist_func) mailimf_msg_id_free, NULL); | ^ -
mailimf_types.c:848:36: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 848 | clist_foreach(keywords->kw_list, (clist_func) mailimf_phrase_free, NULL); | ^ -
mailimf.c:601:30: warning: cast between incompatible function types from 'int (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 601 | clist_foreach(struct_list, (clist_func) destructor, NULL); | ^ -
mailimf.c:684:30: warning: cast between incompatible function types from 'int (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 684 | clist_foreach(struct_list, (clist_func) destructor, NULL); | ^ -
mailimf.c:3199:33: warning: cast between incompatible function types from 'void (*)(struct mailimf_mailbox *)' to 'int (*)(void *)' [-Wcast-function-type] 3199 | (mailimf_struct_destructor *) | ^ -
mailimf.c:3218:23: warning: cast between incompatible function types from 'void (*)(struct mailimf_mailbox *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 3218 | clist_foreach(list, (clist_func) mailimf_mailbox_free, NULL); | ^ -
mailimf.c:3247:33: warning: cast between incompatible function types from 'void (*)(struct mailimf_address *)' to 'int (*)(void *)' [-Wcast-function-type] 3247 | (mailimf_struct_destructor *) | ^ -
mailimf.c:3266:23: warning: cast between incompatible function types from 'void (*)(struct mailimf_address *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 3266 | clist_foreach(list, (clist_func) mailimf_address_free, NULL); | ^ -
mailimf.c:4838:37: warning: cast between incompatible function types from 'void (*)(struct mailimf_field *)' to 'int (*)(void *)' [-Wcast-function-type] 4838 | (mailimf_struct_destructor *) | ^ -
mailimf.c:4878:25: warning: cast between incompatible function types from 'void (*)(struct mailimf_field *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 4878 | clist_foreach(list, (clist_func) mailimf_field_free, NULL); | ^ -
mailimf.c:5378:40: warning: cast between incompatible function types from 'void (*)(char *)' to 'int (*)(void *)' [-Wcast-function-type] 5378 | (mailimf_struct_destructor *) | ^ -
mailimf.c:5431:30: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 5431 | clist_foreach(msg_id_list, (clist_func) mailimf_msg_id_free, NULL); | ^ -
mailimf.c:5491:30: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 5491 | clist_foreach(msg_id_list, (clist_func) mailimf_msg_id_free, NULL); | ^ -
mailimf.c:6143:33: warning: cast between incompatible function types from 'void (*)(char *)' to 'int (*)(void *)' [-Wcast-function-type] 6143 | (mailimf_struct_destructor *) | ^ -
mailimf.c:6168:23: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 6168 | clist_foreach(list, (clist_func) mailimf_phrase_free, NULL); | ^ -
mailimf.c:7649:25: warning: cast between incompatible function types from 'void (*)(struct mailimf_field *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 7649 | clist_foreach(list, (clist_func) mailimf_field_free, NULL); | ^ -
mailimf.c:7718:37: warning: cast between incompatible function types from 'void (*)(struct mailimf_field *)' to 'int (*)(void *)' [-Wcast-function-type] 7718 | (mailimf_struct_destructor *) | ^ -
mailimf.c:7751:25: warning: cast between incompatible function types from 'void (*)(struct mailimf_field *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 7751 | clist_foreach(list, (clist_func) mailimf_field_free, NULL); | ^ -
mailimf.c:7815:37: warning: cast between incompatible function types from 'void (*)(struct mailimf_field *)' to 'int (*)(void *)' [-Wcast-function-type] 7815 | (mailimf_struct_destructor *) | ^ -
mailimf.c:7848:25: warning: cast between incompatible function types from 'void (*)(struct mailimf_field *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 7848 | clist_foreach(list, (clist_func) mailimf_field_free, NULL); | ^ -
mailmbox.c:1156:52: warning: unused parameter 'dest_filename' [-Wunused-parameter] 1156 | static int mailmbox_expunge_to_file_no_lock(char * dest_filename, int dest_fd, | ~~~~~~~^~~~~~~~~~~~~ -
mailmime_types.c:100: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_disposition.c:161:23: warning: cast between incompatible function types from 'void (*)(struct mailmime_disposition_parm *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 161 | clist_foreach(list, (clist_func) mailmime_disposition_parm_free, NULL); | ^ -
mailmime.c:304:34: warning: cast between incompatible function types from 'void (*)(struct mailmime_parameter *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 304 | clist_foreach(parameters_list, (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:359:35: warning: cast between incompatible function types from 'void (*)(struct mailmime_field *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 359 | clist_foreach(fields->fld_list, (clist_func) mailmime_field_free, NULL); | ^ -
mailmime_types.c:403:35: warning: cast between incompatible function types from 'void (*)(struct mailimf_body *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 403 | clist_foreach(mp_body->bd_list, (clist_func) mailimf_body_free, NULL); | ^ -
mailmime_types.c:491:9: warning: cast between incompatible function types from 'void (*)(struct mailmime *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 491 | (clist_func) mailmime_free, NULL); | ^ -
mailmime_types.c:570:7: warning: cast between incompatible function types from 'void (*)(struct mailmime_disposition_parm *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 570 | (clist_func) mailmime_disposition_parm_free, NULL); | ^ -
mailmime.c:972:23: warning: cast between incompatible function types from 'void (*)(struct mailmime_field *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 972 | clist_foreach(list, (clist_func) mailmime_field_free, NULL); | ^ -
mailmime_types.c:705:36: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 705 | clist_foreach(section->sec_list, (clist_func) free, NULL); | ^ -
mailmime_types.c:727:32: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 727 | clist_foreach(lang->lg_list, (clist_func) mailimf_atom_free, NULL); | ^ -
mailmime_content.c:1088:23: warning: cast between incompatible function types from 'void (*)(struct mailmime *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1088 | clist_foreach(list, (clist_func) mailmime_free, NULL); | ^ -
mailmime.c:1470:23: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1470 | 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_content.c:1509:25: warning: cast between incompatible function types from 'void (*)(struct mailmime *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1509 | clist_foreach(list, (clist_func) mailmime_free, NULL); | ^ -
mailmime_decode.c:328:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 328 | if (state == 1) { | ^ -
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:1972:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 1972 | 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:678:20: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 678 | clist_foreach(l, (clist_func) free, NULL); | ^ -
newsnntp.c:817:20: warning: cast between incompatible function types from 'void (*)(struct newsnntp_group_time *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 817 | clist_foreach(l, (clist_func) group_time_free, NULL); | ^ -
newsnntp.c:919:20: warning: cast between incompatible function types from 'void (*)(struct newsnntp_distrib_value_meaning *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 919 | clist_foreach(l, (clist_func) distrib_value_meaning_free, NULL); | ^ -
newsnntp.c:1019:20: warning: cast between incompatible function types from 'void (*)(struct newsnntp_distrib_default_value *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1019 | clist_foreach(l, (clist_func) distrib_default_value_free, NULL); | ^ -
newsnntp.c:1115:20: warning: cast between incompatible function types from 'void (*)(struct newsnntp_group_description *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1115 | clist_foreach(l, (clist_func) group_description_free, NULL); | ^ -
newsnntp.c:1182:20: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1182 | clist_foreach(l, (clist_func) free, NULL); | ^ -
newsnntp.c:1244:20: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1244 | clist_foreach(l, (clist_func) free, NULL); | ^ -
newsnntp.c:1431:20: warning: cast between incompatible function types from 'void (*)(struct newsnntp_xhdr_resp_item *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1431 | clist_foreach(l, (clist_func) xhdr_resp_item_free, NULL); | ^ -
newsnntp.c:1605:32: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1605 | clist_foreach(n->ovr_others, (clist_func) free, NULL); | ^ -
newsnntp.c:1613:20: warning: cast between incompatible function types from 'void (*)(struct newsnntp_xover_resp_item *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1613 | clist_foreach(l, (clist_func) xover_resp_item_free, NULL); | ^ -
newsnntp.c:2487:31: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2487 | clist_foreach(others, (clist_func) free, NULL); | ^ -
newsnntp.c:2505:29: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2505 | clist_foreach(others, (clist_func) free, NULL); | ^ -
newsnntp.c:2525:30: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2525 | clist_foreach(values_list, (clist_func) free, NULL); | ^ -
newsnntp.c:2551:45: warning: unused parameter 's' [-Wunused-parameter] 2551 | static inline void nntp_logger(mailstream * s, int log_type, | ~~~~~~~~~~~~~^ -
mailpop3.c:192:34: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 192 | clist_foreach(capa->cap_param, (clist_func) free, NULL); | ^ -
mailpop3.c:941:28: warning: cast between incompatible function types from 'void (*)(struct mailpop3_capa *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 941 | clist_foreach(capa_list, (clist_func) mailpop3_capa_free, NULL); | ^ -
mailpop3.c:1318:29: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1318 | clist_foreach(param_list, (clist_func) free, NULL); | ^ -
mailpop3.c:1323:23: warning: cast between incompatible function types from 'void (*)(struct mailpop3_capa *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1323 | clist_foreach(list, (clist_func) mailpop3_capa_free, NULL); | ^ -
mailpop3.c:1451:41: warning: unused parameter 'conn' [-Wunused-parameter] 1451 | static int sasl_getsecret(sasl_conn_t * conn, void * context, int id, | ~~~~~~~~~~~~~~^~~~ -
mailpop3.c:1469:19: warning: unused parameter 'availrealms' [-Wunused-parameter] 1469 | const char ** availrealms, | ~~~~~~~~~~~~~~^~~~~~~~~~~ -
mailpop3.c:1509:28: warning: cast between incompatible function types from 'int (*)(void *, int, const char **, const char **)' to 'int (*)(void)' [-Wcast-function-type] 1509 | sasl_callback[0].proc = (int(*)(void)) sasl_getrealm; | ^ -
mailpop3.c:1512:28: warning: cast between incompatible function types from 'int (*)(void *, int, const char **, unsigned int *)' to 'int (*)(void)' [-Wcast-function-type] 1512 | sasl_callback[1].proc = (int(*)(void)) sasl_getsimple; | ^ -
mailpop3.c:1515:28: warning: cast between incompatible function types from 'int (*)(void *, int, const char **, unsigned int *)' to 'int (*)(void)' [-Wcast-function-type] 1515 | sasl_callback[2].proc = (int(*)(void)) sasl_getsimple; | ^ -
mailpop3.c:1518: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] 1518 | sasl_callback[3].proc = (int(*)(void)) sasl_getsecret; | ^ -
mailpop3.c:1709:45: warning: unused parameter 's' [-Wunused-parameter] 1709 | static inline void pop3_logger(mailstream * s, int log_type, | ~~~~~~~~~~~~~^ -
mailsmtp_helper.c:263:20: warning: cast 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:1803:45: warning: unused parameter 's' [-Wunused-parameter] 1803 | static inline void smtp_logger(mailstream * s, int log_type, | ~~~~~~~~~~~~~^ -
parser.c:390:74: warning: unused parameter 'ctx' [-Wunused-parameter] 390 | void newsfeed_parser_set_expat_handlers(struct newsfeed_parser_context * ctx) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ -
parser.c:410:34: warning: unused parameter 'ptr' [-Wunused-parameter] 410 | size_t newsfeed_writefunc(void * ptr, size_t size, size_t nmemb, void * data) | ~~~~~~~^~~ -
parser.c:410:46: warning: unused parameter 'size' [-Wunused-parameter] 410 | size_t newsfeed_writefunc(void * ptr, size_t size, size_t nmemb, void * data) | ~~~~~~~^~~~ -
parser.c:410:59: warning: unused parameter 'nmemb' [-Wunused-parameter] 410 | size_t newsfeed_writefunc(void * ptr, size_t size, size_t nmemb, void * data) | ~~~~~~~^~~~~ -
parser.c:410:73: warning: unused parameter 'data' [-Wunused-parameter] 410 | size_t newsfeed_writefunc(void * ptr, size_t size, size_t nmemb, void * data) | ~~~~~~~^~~~ -
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) | ~~~~~~~~~~~~~~^~~~ -
newsfeed.c:304:39: warning: unused parameter 'feed' [-Wunused-parameter] 304 | int newsfeed_update(struct newsfeed * feed, time_t last_update) | ~~~~~~~~~~~~~~~~~~^~~~ -
newsfeed.c:304:52: warning: unused parameter 'last_update' [-Wunused-parameter] 304 | int newsfeed_update(struct newsfeed * feed, time_t last_update) | ~~~~~~~^~~~~~~~~~~ -
imapstorage.c:73:35: warning: unused parameter 'imap_auth_type' [-Wunused-parameter] 73 | int imap_connection_type, int imap_auth_type, | ~~~~^~~~~~~~~~~~~~ -
imapdriver_message.c:166:50: warning: unused parameter 'msg_info' [-Wunused-parameter] 166 | static void imap_fetch_result_free(mailmessage * msg_info, | ~~~~~~~~~~~~~~^~~~~~~~ -
imapdriver_tools.c:270:23: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 270 | clist_foreach(list, (clist_func) free, NULL); | ^ -
imapdriver_tools.c:349:25: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 349 | clist_foreach(list, (clist_func) free, NULL); | ^ -
imapdriver_tools.c:674:17: warning: cast between incompatible function types from 'void (*)(struct mailmime_disposition_parm *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 674 | (clist_func) mailmime_disposition_parm_free, NULL); | ^ -
imapdriver.c:477:71: warning: unused parameter 'mb' [-Wunused-parameter] 477 | static int status_selected_folder(mailsession * session, const char * mb, | ~~~~~~~~~~~~~^~ -
imapdriver_tools.c:749:23: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 749 | clist_foreach(list, (clist_func) free, NULL); | ^ -
imapdriver_tools.c:996:23: warning: cast between incompatible function types from 'void (*)(struct mailmime_field *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 996 | clist_foreach(list, (clist_func) mailmime_field_free, NULL); | ^ -
imapdriver.c:943:29: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 943 | clist_foreach(msg_list, (clist_func) free, NULL); | ^ -
imapdriver.c:948:27: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 948 | clist_foreach(msg_list, (clist_func) free, NULL); | ^ -
imapdriver_tools.c:1197:29: warning: cast between incompatible function types from 'void (*)(struct mailmime_parameter *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1197 | clist_foreach(parameters, (clist_func) mailmime_parameter_free, NULL); | ^ -
imapdriver_tools.c:1502:23: warning: cast between incompatible function types from 'void (*)(struct mailmime *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1502 | clist_foreach(list, (clist_func) mailmime_free, NULL); | ^ -
imapdriver_tools.c:1692:23: warning: cast between incompatible function types from 'void (*)(struct mailimf_mailbox *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1692 | clist_foreach(list, (clist_func) mailimf_mailbox_free, NULL); | ^ -
imapdriver_tools.c:1782:23: warning: cast between incompatible function types from 'void (*)(struct mailimf_mailbox *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1782 | clist_foreach(list, (clist_func) mailimf_mailbox_free, NULL); | ^ -
imapdriver_tools.c:1706:47: warning: unused parameter 'imap_mb_list' [-Wunused-parameter] 1706 | static int imap_mailbox_list_to_group(clist * imap_mb_list, clistiter ** iter, | ~~~~~~~~^~~~~~~~~~~~ -
imapdriver_tools.c:1861:23: warning: cast between incompatible function types from 'void (*)(struct mailimf_address *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1861 | clist_foreach(list, (clist_func) mailimf_address_free, NULL); | ^ -
imapdriver_tools.c:1909:28: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1909 | clist_foreach(hdrlist, (clist_func) free, NULL); | ^ -
imapdriver_tools.c:1918:28: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1918 | clist_foreach(hdrlist, (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_tools.c:2294:36: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2294 | clist_foreach(msg_id_list, (clist_func) mailimf_msg_id_free, NULL); | ^ -
imapdriver_tools.c:2424:23: warning: cast between incompatible function types from 'void (*)(struct mailimf_field *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2424 | clist_foreach(list, (clist_func) mailimf_field_free, NULL); | ^ -
imapdriver_tools.c:3685:19: warning: unused parameter 'session' [-Wunused-parameter] 3685 | mailsession * session, mailmessage * msg, | ~~~~~~~~~~~~~~^~~~~~~ -
imapdriver_tools.c:3713:19: warning: unused parameter 'session' [-Wunused-parameter] 3713 | mailsession * session, mailmessage * msg, | ~~~~~~~~~~~~~~^~~~~~~ -
maildirstorage.c:192:12: warning: unused parameter 'pathname' [-Wunused-parameter] 192 | char * pathname, mailsession ** result) | ~~~~~~~^~~~~~~~ -
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, | ~~~~~~~~~~~~~~^~~~~~~ -
mboxstorage.c:191:12: warning: unused parameter 'pathname' [-Wunused-parameter] 191 | char * pathname, mailsession ** result) | ~~~~~~~^~~~~~~~ -
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, | ~~~~~~~~~~~~~^~ -
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:574:23: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 574 | clist_foreach(list, (clist_func) free, NULL); | ^ -
mhdriver.c:610:23: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 610 | clist_foreach(list, (clist_func) free, NULL); | ^ -
mhdriver.c:580:70: warning: unused parameter 'mb' [-Wunused-parameter] 580 | static int mhdriver_list_folders(mailsession * session, const char * mb, | ~~~~~~~~~~~~~^~ -
mhdriver.c:662:30: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 662 | clist_foreach(lsub_result, (clist_func) free, NULL); | ^ -
mhdriver.c:713:60: warning: unused parameter 'flags' [-Wunused-parameter] 713 | const char * message, size_t size, struct mail_flags * flags) | ~~~~~~~~~~~~~~~~~~~~^~~~~ -
mime_message_driver.c:59:43: warning: unused parameter 'msg' [-Wunused-parameter] 59 | int mime_message_set_tmpdir(mailmessage * msg, char * tmpdir) | ~~~~~~~~~~~~~~^~~ -
mime_message_driver.c:59:55: warning: unused parameter 'tmpdir' [-Wunused-parameter] 59 | int mime_message_set_tmpdir(mailmessage * msg, char * tmpdir) | ~~~~~~~^~~~~~ -
mime_message_driver.c:126:33: warning: unused parameter 'msg' [-Wunused-parameter] 126 | static void flush(mailmessage * msg) | ~~~~~~~~~~~~~~^~~ -
mime_message_driver.c:131:33: warning: unused parameter 'msg' [-Wunused-parameter] 131 | static void check(mailmessage * msg) | ~~~~~~~~~~~~~~^~~ -
mime_message_driver.c:136:45: warning: unused parameter 'msg_info' [-Wunused-parameter] 136 | static void fetch_result_free(mailmessage * msg_info, char * content) | ~~~~~~~~~~~~~~^~~~~~~~ -
nntpdriver.c:216:45: warning: cast 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, | ~~~~~~~~~~~~~~^~~~~~~ -
pop3storage.c:476:12: warning: unused parameter 'pathname' [-Wunused-parameter] 476 | char * pathname, mailsession ** result) | ~~~~~~~^~~~~~~~ -
pop3driver.c:319:75: warning: unused parameter 'mb' [-Wunused-parameter] 319 | 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, | ~~~~~~~~~~~~~^~ -
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) | ~~~~~~~~~~~~~~~^~~~~~ -
feeddriver_message.c:187:14: warning: unused parameter 'result' [-Wunused-parameter] 187 | size_t * result) | ~~~~~~~~~^~~~~~ -
feedstorage.c:178:12: warning: unused parameter 'pathname' [-Wunused-parameter] 178 | char * pathname, mailsession ** result) | ~~~~~~~^~~~~~~~ -
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:91:32: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 91 | clist_foreach(resp->mb_list, (clist_func) free, NULL); | ^ -
maildriver_types.c:348:38: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 348 | clist_foreach(flags->fl_extension, (clist_func) free, NULL); | ^ -
mailmessage_tools.c:175:53: warning: unused parameter 'msg_info' [-Wunused-parameter] 175 | mailmessage_generic_fetch_result_free(mailmessage * msg_info, char * msg) | ~~~~~~~~~~~~~~^~~~~~~~ -
mailmessage_tools.c:360:49: warning: unused parameter 'msg_info' [-Wunused-parameter] 360 | mailmessage_generic_fetch_section(mailmessage * msg_info, | ~~~~~~~~~~~~~~^~~~~~~~ -
mailmessage_tools.c:393:56: warning: unused parameter 'msg_info' [-Wunused-parameter] 393 | mailmessage_generic_fetch_section_header(mailmessage * msg_info, | ~~~~~~~~~~~~~~^~~~~~~~ -
mailmessage_tools.c:452:54: warning: unused parameter 'msg_info' [-Wunused-parameter] 452 | mailmessage_generic_fetch_section_mime(mailmessage * msg_info, | ~~~~~~~~~~~~~~^~~~~~~~ -
mailmessage_tools.c:506:54: warning: unused parameter 'msg_info' [-Wunused-parameter] 506 | mailmessage_generic_fetch_section_body(mailmessage * msg_info, | ~~~~~~~~~~~~~~^~~~~~~~ -
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:398:9: warning: unused parameter 'auth_type' [-Wunused-parameter] 398 | int auth_type, | ~~~~^~~~~~~~~ -
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); | ^ -
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: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_smime.c:619:54: warning: unused parameter 'privacy' [-Wunused-parameter] 619 | static int smime_test_encrypted(struct mailprivacy * privacy, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
mailprivacy_smime.c:620:19: warning: unused parameter 'msg' [-Wunused-parameter] 620 | mailmessage * msg, | ~~~~~~~~~~~~~~^~~ -
mailprivacy_smime.c:1358:58: warning: unused parameter 'privacy' [-Wunused-parameter] 1358 | void mailprivacy_smime_set_cert_dir(struct mailprivacy * privacy, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
mailprivacy_smime.c:1442:65: warning: unused parameter 'privacy' [-Wunused-parameter] 1442 | void mail_private_smime_clear_private_keys(struct mailprivacy * privacy) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
mailprivacy_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_smime.c:1516:58: warning: unused parameter 'privacy' [-Wunused-parameter] 1516 | void mailprivacy_smime_set_CA_check(struct mailprivacy * privacy, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
mailprivacy_smime.c:1522:60: warning: unused parameter 'privacy' [-Wunused-parameter] 1522 | void mailprivacy_smime_set_store_cert(struct mailprivacy * privacy, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
mailprivacy_smime.c:1633:50: warning: unused parameter 'privacy' [-Wunused-parameter] 1633 | static void set_private_key(struct mailprivacy * privacy, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
mailprivacy_smime.c:1746:46: warning: unused parameter 'privacy' [-Wunused-parameter] 1746 | static clist * get_list(struct mailprivacy * privacy, mailmessage * msg) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
mailprivacy_smime.c:1867:62: warning: unused parameter 'privacy' [-Wunused-parameter] 1867 | int mailprivacy_smime_set_encryption_id(struct mailprivacy * privacy, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
mailprivacy_smime.c:1900:51: warning: unused parameter 'privacy' [-Wunused-parameter] 1900 | static char * get_passphrase(struct mailprivacy * privacy, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
mailprivacy_gnupg.c:2860:46: warning: unused parameter 'privacy' [-Wunused-parameter] 2860 | static clist * get_list(struct mailprivacy * privacy, mailmessage * msg) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
mailprivacy_gnupg.c:2983:62: warning: unused parameter 'privacy' [-Wunused-parameter] 2983 | int mailprivacy_gnupg_set_encryption_id(struct mailprivacy * privacy, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
mailprivacy_gnupg.c:3016:51: warning: unused parameter 'privacy' [-Wunused-parameter] 3016 | static char * get_passphrase(struct mailprivacy * privacy, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
mailengine.c:1361:49: warning: unused parameter 'engine' [-Wunused-parameter] 1361 | libetpan_message_get_folder(struct mailengine * engine, | ~~~~~~~~~~~~~~~~~~~~^~~~~~ -
mailprivacy.c:604:48: warning: unused parameter 'privacy' [-Wunused-parameter] 604 | int mailprivacy_msg_fetch(struct mailprivacy * privacy, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
mailprivacy.c:612:55: warning: unused parameter 'privacy' [-Wunused-parameter] 612 | int mailprivacy_msg_fetch_header(struct mailprivacy * privacy, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
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) | ~~~~~~~~^~~~