Snippets for libetpan 1.10.1 from Nix aarch64-linux
Sourced from https://hydra.nixos.org/log/8irxsfvah3vyrld2f41y7nf1gi4zgfb1-libetpan-1.10.1.drv.
-
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]); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ -
mailstream.c:261:41: warning: unused parameter 's' [-Wunused-parameter] 261 | static void low_logger(mailstream_low * s, int log_type, | ~~~~~~~~~~~~~~~~~^ -
mailstream_ssl.c:177:62: warning: unused parameter 'file' [-Wunused-parameter] 177 | static void locking_function(int mode, int n, const char * file, int line) | ~~~~~~~~~~~~~^~~~ -
mailstream_ssl.c:177:72: warning: unused parameter 'line' [-Wunused-parameter] 177 | static void locking_function(int mode, int n, const char * file, int line) | ~~~~^~~~ -
mailstream_ssl.c:190:71: warning: unused parameter 'file' [-Wunused-parameter] 190 | static struct CRYPTO_dynlock_value *dyn_create_function(const char *file, int line) | ~~~~~~~~~~~~^~~~ -
mailstream_ssl.c:190:81: warning: unused parameter 'line' [-Wunused-parameter] 190 | static struct CRYPTO_dynlock_value *dyn_create_function(const char *file, int line) | ~~~~^~~~ -
mailstream_ssl.c:206:87: warning: unused parameter 'file' [-Wunused-parameter] 206 | static void dyn_lock_function(int mode, struct CRYPTO_dynlock_value *l, const char *file, int line) | ~~~~~~~~~~~~^~~~ -
mailstream_ssl.c:206:97: warning: unused parameter 'line' [-Wunused-parameter] 206 | static void dyn_lock_function(int mode, struct CRYPTO_dynlock_value *l, const char *file, int line) | ~~~~^~~~ -
mailstream_ssl.c:216:79: warning: unused parameter 'file' [-Wunused-parameter] 216 | static void dyn_destroy_function(struct CRYPTO_dynlock_value *l,const char *file, int line) | ~~~~~~~~~~~~^~~~ -
mailstream_ssl.c:216:89: warning: unused parameter 'line' [-Wunused-parameter] 216 | static void dyn_destroy_function(struct CRYPTO_dynlock_value *l,const char *file, int line) | ~~~~^~~~ -
mailstream_ssl.c:727:66: warning: unused parameter 'starttls' [-Wunused-parameter] 727 | static mailstream_low * mailstream_low_ssl_open_full(int fd, int starttls, time_t timeout, | ~~~~^~~~~~~~ -
mailstream_ssl.c:216:15: warning: 'dyn_destroy_function' defined but not used [-Wunused-function] 216 | static void dyn_destroy_function(struct CRYPTO_dynlock_value *l,const char *file, int line) | ^~~~~~~~~~~~~~~~~~~~ -
mailstream_ssl.c:206:15: warning: 'dyn_lock_function' defined but not used [-Wunused-function] 206 | static void dyn_lock_function(int mode, struct CRYPTO_dynlock_value *l, const char *file, int line) | ^~~~~~~~~~~~~~~~~ -
mailstream_ssl.c:190:39: warning: 'dyn_create_function' defined but not used [-Wunused-function] 190 | static struct CRYPTO_dynlock_value *dyn_create_function(const char *file, int line) | ^~~~~~~~~~~~~~~~~~~ -
mailstream_ssl.c:185:24: warning: 'id_function' defined but not used [-Wunused-function] 185 | static unsigned long id_function(void) | ^~~~~~~~~~~ -
mailstream_ssl.c:177:15: warning: 'locking_function' defined but not used [-Wunused-function] 177 | static void locking_function(int mode, int n, const char * file, int line) | ^~~~~~~~~~~~~~~~ -
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 *)) { | ^ -
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 *)) | ^ -
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) | ~~~~~~~~~^~~~~~~~~~ -
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) | ~~~~~~~^~~~~~~ -
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) | ~~~~~~~~~^~~~~~~~~~ -
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) | ~~~~~~~~^~~~ -
mailstream_cancel.c:172:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 172 | write(cancel->ms_fds[1], &ch, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailstream_cancel.c:182:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 182 | read(cancel->ms_fds[0], &ch, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailstream_cfstream.c:241:65: warning: unused parameter 'hostname' [-Wunused-parameter] 241 | mailstream * mailstream_cfstream_open_voip_timeout(const char * hostname, int16_t port, int voip_enabled, | ~~~~~~~~~~~~~^~~~~~~~ -
mailstream_cfstream.c:241:83: warning: unused parameter 'port' [-Wunused-parameter] 241 | mailstream * mailstream_cfstream_open_voip_timeout(const char * hostname, int16_t port, int voip_enabled, | ~~~~~~~~^~~~ -
mailstream_cfstream.c:241:93: warning: unused parameter 'voip_enabled' [-Wunused-parameter] 241 | mailstream * mailstream_cfstream_open_voip_timeout(const char * hostname, int16_t port, int voip_enabled, | ~~~~^~~~~~~~~~~~ -
mailstream_cfstream.c:242:10: warning: unused parameter 'timeout' [-Wunused-parameter] 242 | time_t timeout) | ~~~~~~~^~~~~~~ -
mailstream_cfstream.c:502:73: warning: unused parameter 'hostname' [-Wunused-parameter] 502 | mailstream_low * mailstream_low_cfstream_open_voip_timeout(const char * hostname, int16_t port, | ~~~~~~~~~~~~~^~~~~~~~ -
mailstream_cfstream.c:502:91: warning: unused parameter 'port' [-Wunused-parameter] 502 | mailstream_low * mailstream_low_cfstream_open_voip_timeout(const char * hostname, int16_t port, | ~~~~~~~~^~~~ -
mailstream_cfstream.c:503:7: warning: unused parameter 'voip_enabled' [-Wunused-parameter] 503 | int voip_enabled, time_t timeout) | ~~~~^~~~~~~~~~~~ -
mailstream_cfstream.c:503:28: warning: unused parameter 'timeout' [-Wunused-parameter] 503 | int voip_enabled, time_t timeout) | ~~~~~~~^~~~~~~ -
mailstream_cfstream.c:581:59: warning: unused parameter 's' [-Wunused-parameter] 581 | static int mailstream_low_cfstream_close(mailstream_low * s) | ~~~~~~~~~~~~~~~~~^ -
mailstream_cfstream.c:601:59: warning: unused parameter 's' [-Wunused-parameter] 601 | static void mailstream_low_cfstream_free(mailstream_low * s) | ~~~~~~~~~~~~~~~~~^ -
mailstream_cfstream.c:614:60: warning: unused parameter 's' [-Wunused-parameter] 614 | static int mailstream_low_cfstream_get_fd(mailstream_low * s) | ~~~~~~~~~~~~~~~~~^ -
mailstream_cfstream.c:861:62: warning: unused parameter 's' [-Wunused-parameter] 861 | static ssize_t mailstream_low_cfstream_read(mailstream_low * s, | ~~~~~~~~~~~~~~~~~^ -
mailstream_cfstream.c:862:52: warning: unused parameter 'buf' [-Wunused-parameter] 862 | void * buf, size_t count) | ~~~~~~~^~~ -
mailstream_cfstream.c:862:64: warning: unused parameter 'count' [-Wunused-parameter] 862 | void * buf, size_t count) | ~~~~~~~^~~~~ -
mailstream_cfstream.c:896:63: warning: unused parameter 's' [-Wunused-parameter] 896 | static ssize_t mailstream_low_cfstream_write(mailstream_low * s, | ~~~~~~~~~~~~~~~~~^ -
mailstream_cfstream.c:897:59: warning: unused parameter 'buf' [-Wunused-parameter] 897 | const void * buf, size_t count) | ~~~~~~~~~~~~~^~~ -
mailstream_cfstream.c:897:71: warning: unused parameter 'count' [-Wunused-parameter] 897 | const void * buf, size_t count) | ~~~~~~~^~~~~ -
mailstream_cfstream.c:955:61: warning: unused parameter 's' [-Wunused-parameter] 955 | static void mailstream_low_cfstream_cancel(mailstream_low * s) | ~~~~~~~~~~~~~~~~~^ -
mailstream_cfstream.c:975:54: warning: unused parameter 's' [-Wunused-parameter] 975 | int mailstream_cfstream_set_ssl_enabled(mailstream * s, int ssl_enabled) | ~~~~~~~~~~~~~^ -
mailstream_cfstream.c:975:61: warning: unused parameter 'ssl_enabled' [-Wunused-parameter] 975 | int mailstream_cfstream_set_ssl_enabled(mailstream * s, int ssl_enabled) | ~~~~^~~~~~~~~~~ -
mailstream_cfstream.c:1070:53: warning: unused parameter 's' [-Wunused-parameter] 1070 | int mailstream_cfstream_is_ssl_enabled(mailstream * s) | ~~~~~~~~~~~~~^ -
mailstream_cfstream.c:1081:65: warning: unused parameter 's' [-Wunused-parameter] 1081 | void mailstream_cfstream_set_ssl_verification_mask(mailstream * s, int verification_mask) | ~~~~~~~~~~~~~^ -
mailstream_cfstream.c:1081:72: warning: unused parameter 'verification_mask' [-Wunused-parameter] 1081 | void mailstream_cfstream_set_ssl_verification_mask(mailstream * s, int verification_mask) | ~~~~^~~~~~~~~~~~~~~~~ -
mailstream_cfstream.c:1090:57: warning: unused parameter 's' [-Wunused-parameter] 1090 | void mailstream_cfstream_set_ssl_peer_name(mailstream * s, const char * peer_name) | ~~~~~~~~~~~~~^ -
mailstream_cfstream.c:1090:73: warning: unused parameter 'peer_name' [-Wunused-parameter] 1090 | void mailstream_cfstream_set_ssl_peer_name(mailstream * s, const char * peer_name) | ~~~~~~~~~~~~~^~~~~~~~~ -
mailstream_cfstream.c:1106:57: warning: unused parameter 's' [-Wunused-parameter] 1106 | void mailstream_cfstream_set_ssl_is_server(mailstream * s, int is_server) | ~~~~~~~~~~~~~^ -
mailstream_cfstream.c:1106:64: warning: unused parameter 'is_server' [-Wunused-parameter] 1106 | void mailstream_cfstream_set_ssl_is_server(mailstream * s, int is_server) | ~~~~^~~~~~~~~ -
mailstream_cfstream.c:1115:53: warning: unused parameter 's' [-Wunused-parameter] 1115 | void mailstream_cfstream_set_ssl_level(mailstream * s, int ssl_level) | ~~~~~~~~~~~~~^ -
mailstream_cfstream.c:1115:60: warning: unused parameter 'ssl_level' [-Wunused-parameter] 1115 | void mailstream_cfstream_set_ssl_level(mailstream * s, int ssl_level) | ~~~~^~~~~~~~~ -
mailstream_cfstream.c:1129:56: warning: unused parameter 'low' [-Wunused-parameter] 1129 | int mailstream_low_cfstream_wait_idle(mailstream_low * low, int max_idle_delay) | ~~~~~~~~~~~~~~~~~^~~ -
mailstream_cfstream.c:1129:65: warning: unused parameter 'max_idle_delay' [-Wunused-parameter] 1129 | int mailstream_low_cfstream_wait_idle(mailstream_low * low, int max_idle_delay) | ~~~~^~~~~~~~~~~~~~ -
mailstream_cfstream.c:1166:64: warning: unused parameter 's' [-Wunused-parameter] 1166 | static int mailstream_low_cfstream_setup_idle(mailstream_low * s) | ~~~~~~~~~~~~~~~~~^ -
mailstream_cfstream.c:1182:66: warning: unused parameter 's' [-Wunused-parameter] 1182 | static int mailstream_low_cfstream_unsetup_idle(mailstream_low * s) | ~~~~~~~~~~~~~~~~~^ -
mailstream_cfstream.c:1198:68: warning: unused parameter 's' [-Wunused-parameter] 1198 | static int mailstream_low_cfstream_interrupt_idle(mailstream_low * s) | ~~~~~~~~~~~~~~~~~^ -
mailstream_cfstream.c:1233:80: warning: unused parameter 's' [-Wunused-parameter] 1233 | static carray * mailstream_low_cfstream_get_certificate_chain(mailstream_low * s) | ~~~~~~~~~~~~~~~~~^ -
mailstream_cfstream.c:1221:13: warning: 'mailstream_low_cfstream_certificate_chain_free' defined but not used [-Wunused-function] 1221 | static void mailstream_low_cfstream_certificate_chain_free(carray * result) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailstream_compress.c:96:64: warning: unused parameter 'ms' [-Wunused-parameter] 96 | mailstream_low * mailstream_low_compress_open(mailstream_low * ms) | ~~~~~~~~~~~~~~~~~^~ -
mailstream_compress.c:166:62: warning: unused parameter 's' [-Wunused-parameter] 166 | static ssize_t mailstream_low_compress_read(mailstream_low * s, void * buf, size_t count) | ~~~~~~~~~~~~~~~~~^ -
mailstream_compress.c:166:72: warning: unused parameter 'buf' [-Wunused-parameter] 166 | static ssize_t mailstream_low_compress_read(mailstream_low * s, void * buf, size_t count) | ~~~~~~~^~~ -
mailstream_compress.c:166:84: warning: unused parameter 'count' [-Wunused-parameter] 166 | static ssize_t mailstream_low_compress_read(mailstream_low * s, void * buf, size_t count) | ~~~~~~~^~~~~ -
mailstream_compress.c:211:63: warning: unused parameter 's' [-Wunused-parameter] 211 | static ssize_t mailstream_low_compress_write(mailstream_low * s, const void * buf, size_t count) { | ~~~~~~~~~~~~~~~~~^ -
mailstream_compress.c:211:79: warning: unused parameter 'buf' [-Wunused-parameter] 211 | static ssize_t mailstream_low_compress_write(mailstream_low * s, const void * buf, size_t count) { | ~~~~~~~~~~~~~^~~ -
mailstream_compress.c:211:91: warning: unused parameter 'count' [-Wunused-parameter] 211 | static ssize_t mailstream_low_compress_write(mailstream_low * s, const void * buf, size_t count) { | ~~~~~~~^~~~~ -
mailstream_compress.c:254:59: warning: unused parameter 's' [-Wunused-parameter] 254 | static int mailstream_low_compress_close(mailstream_low * s) | ~~~~~~~~~~~~~~~~~^ -
mailstream_compress.c:264:60: warning: unused parameter 's' [-Wunused-parameter] 264 | static int mailstream_low_compress_get_fd(mailstream_low * s) | ~~~~~~~~~~~~~~~~~^ -
mailstream_compress.c:274:87: warning: unused parameter 's' [-Wunused-parameter] 274 | static struct mailstream_cancel * mailstream_low_compress_get_cancel(mailstream_low * s) | ~~~~~~~~~~~~~~~~~^ -
mailstream_compress.c:284:59: warning: unused parameter 's' [-Wunused-parameter] 284 | static void mailstream_low_compress_free(mailstream_low * s) | ~~~~~~~~~~~~~~~~~^ -
mailstream_compress.c:302:61: warning: unused parameter 's' [-Wunused-parameter] 302 | static void mailstream_low_compress_cancel(mailstream_low * s) | ~~~~~~~~~~~~~~~~~^ -
mailstream_compress.c:310:80: warning: unused parameter 's' [-Wunused-parameter] 310 | static carray * mailstream_low_compress_get_certificate_chain(mailstream_low * s) | ~~~~~~~~~~~~~~~~~^ -
mailstream_compress.c:320:56: warning: unused parameter 'low' [-Wunused-parameter] 320 | int mailstream_low_compress_wait_idle(mailstream_low * low, | ~~~~~~~~~~~~~~~~~^~~ -
mailstream_compress.c:321:66: warning: unused parameter 'idle' [-Wunused-parameter] 321 | struct mailstream_cancel * idle, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ -
mailstream_compress.c:322:43: warning: unused parameter 'max_idle_delay' [-Wunused-parameter] 322 | int max_idle_delay) | ~~~~^~~~~~~~~~~~~~ -
mailstream_compress.c:332:64: warning: unused parameter 'low' [-Wunused-parameter] 332 | static int mailstream_low_compress_setup_idle(mailstream_low * low) | ~~~~~~~~~~~~~~~~~^~~ -
mailstream_compress.c:342:66: warning: unused parameter 'low' [-Wunused-parameter] 342 | static int mailstream_low_compress_unsetup_idle(mailstream_low * low) | ~~~~~~~~~~~~~~~~~^~~ -
mailstream_compress.c:352:68: warning: unused parameter 'low' [-Wunused-parameter] 352 | static int mailstream_low_compress_interrupt_idle(mailstream_low * low) | ~~~~~~~~~~~~~~~~~^~~ -
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_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); | ^ -
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); | ^ -
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); | ^ -
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_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_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_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_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_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_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_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_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_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_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_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_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_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_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); | ^ -
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_keywords.c:87:38: warning: unused parameter 'fd' [-Wunused-parameter] 87 | int mailimap_char_parse(mailstream * fd, MMAPString * buffer, | ~~~~~~~~~~~~~^~ -
mailimap_keywords.c:103:39: warning: unused parameter 'fd' [-Wunused-parameter] 103 | int mailimap_space_parse(mailstream * fd, MMAPString * buffer, | ~~~~~~~~~~~~~^~ -
mailimap_parser.c:776:112: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 776 | static int mailimap_unstrict_char_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:881:98: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 881 | int mailimap_dquote_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:984:30: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 984 | clist_foreach(struct_list, (clist_func) destructor, 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_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); | ^ -
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_parser.c:1585:36: warning: unused parameter 'progr_rate' [-Wunused-parameter] 1585 | size_t progr_rate, | ~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:1586:49: warning: unused parameter 'progr_fun' [-Wunused-parameter] 1586 | progress_function * progr_fun) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
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) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
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_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_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_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_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, | ^ -
mailimap_parser.c:2621:12: warning: unused parameter 'progr_rate' [-Wunused-parameter] 2621 | size_t progr_rate, | ~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:2622:25: warning: unused parameter 'progr_fun' [-Wunused-parameter] 2622 | progress_function * progr_fun) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
mailimap_parser.c:2830:23: warning: cast 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_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_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_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_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_parser.c:4290:109: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 4290 | static int mailimap_date_month_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:4377:108: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 4377 | static int mailimap_date_year_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:4470:53: warning: unused parameter 'progr_rate' [-Wunused-parameter] 4470 | size_t progr_rate, | ~~~~~~~^~~~~~~~~~ -
mailimap_parser.c:4471:66: warning: unused parameter 'progr_fun' [-Wunused-parameter] 4471 | progress_function * progr_fun) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
mailimap_parser.c:4997:27: warning: cast 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_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_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]
-
mailimap.c:152:15: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 152 | (clist_func) mailimap_astring_free, NULL); | ^ -
mailimap.c:184:15: warning: cast between incompatible function types from 'void (*)(struct mailimap_flag_perm *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 184 | (clist_func) mailimap_flag_perm_free, NULL); | ^ -
mailimap.c:872:23: warning: cast between incompatible function types from 'void (*)(struct mailimap_capability *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 872 | clist_foreach(list, (clist_func) mailimap_capability_free, NULL); | ^ -
mailimap.c:1472:29: warning: cast between incompatible function types from 'void (*)(struct mailimap_msg_att *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1472 | clist_foreach(fetch_list, (clist_func) mailimap_msg_att_free, NULL); | ^ -
mailimap.c:1737:38: warning: unused parameter 'session' [-Wunused-parameter] 1737 | int mailimap_authenticate(mailimap * session, const char * auth_type, | ~~~~~~~~~~~^~~~~~~ -
mailimap.c:1737:60: warning: unused parameter 'auth_type' [-Wunused-parameter] 1737 | int mailimap_authenticate(mailimap * session, const char * auth_type, | ~~~~~~~~~~~~~^~~~~~~~~ -
mailimap.c:1738:18: warning: unused parameter 'server_fqdn' [-Wunused-parameter] 1738 | const char * server_fqdn, | ~~~~~~~~~~~~~^~~~~~~~~~~ -
mailimap.c:1739:18: warning: unused parameter 'local_ip_port' [-Wunused-parameter] 1739 | const char * local_ip_port, | ~~~~~~~~~~~~~^~~~~~~~~~~~~ -
mailimap.c:1740:18: warning: unused parameter 'remote_ip_port' [-Wunused-parameter] 1740 | const char * remote_ip_port, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ -
mailimap.c:1741:18: warning: unused parameter 'login' [-Wunused-parameter] 1741 | const char * login, const char * auth_name, | ~~~~~~~~~~~~~^~~~~ -
mailimap.c:1741:38: warning: unused parameter 'auth_name' [-Wunused-parameter] 1741 | const char * login, const char * auth_name, | ~~~~~~~~~~~~~^~~~~~~~~ -
mailimap.c:1742:18: warning: unused parameter 'password' [-Wunused-parameter] 1742 | const char * password, const char * realm) | ~~~~~~~~~~~~~^~~~~~~~ -
mailimap.c:1742:41: warning: unused parameter 'realm' [-Wunused-parameter] 1742 | const char * password, const char * realm) | ~~~~~~~~~~~~~^~~~~ -
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.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.c:2795:45: warning: unused parameter 's' [-Wunused-parameter] 2795 | static inline void imap_logger(mailstream * s, int log_type, | ~~~~~~~~~~~~~^ -
mailimap_socket.c:65:88: warning: unused parameter 'voip_enabled' [-Wunused-parameter] 65 | int mailimap_socket_connect_voip(mailimap * f, const char * server, uint16_t port, int voip_enabled) | ~~~~^~~~~~~~~~~~ -
mailimap_ssl.c:70:99: warning: unused parameter 'voip_enabled' [-Wunused-parameter] 70 | int mailimap_ssl_connect_voip_with_callback(mailimap * f, const char * server, uint16_t port, int voip_enabled, | ~~~~^~~~~~~~~~~~ -
annotatemore.c:117:9: warning: cast between incompatible function types from 'void (*)(struct mailimap_extension_data *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 117 | (clist_func) mailimap_extension_data_free, NULL); | ^ -
annotatemore_parser.c:190:7: warning: cast between incompatible function types from 'void (*)(struct mailimap_annotatemore_entry_att *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 190 | (clist_func) mailimap_annotatemore_entry_att_free, NULL); | ^ -
annotatemore_parser.c:196:7: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 196 | (clist_func) mailimap_annotatemore_entry_free, NULL); | ^ -
annotatemore_parser.c:270:5: warning: cast between incompatible function types from 'void (*)(struct mailimap_annotatemore_att_value *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 270 | (clist_func) mailimap_annotatemore_att_value_free, NULL); | ^ -
annotatemore_parser.c:364:68: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 364 | MMAPString *buffer, struct mailimap_parser_context * parser_ctx, size_t * indx, int * result, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
annotatemore_parser.c:365:22: warning: unused parameter 'progr_rate' [-Wunused-parameter] 365 | size_t progr_rate, progress_function * progr_fun) | ~~~~~~~^~~~~~~~~~ -
annotatemore_parser.c:365:54: warning: unused parameter 'progr_fun' [-Wunused-parameter] 365 | size_t progr_rate, progress_function * progr_fun) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
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); | ^ -
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); | ^ -
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); | ^ -
acl.c:208:9: warning: cast between incompatible function types from 'void (*)(struct mailimap_extension_data *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 208 | (clist_func) mailimap_extension_data_free, NULL); | ^ -
acl.c: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); | ^ -
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); | ^ -
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); | ^ -
uidplus_parser.c:52:12: warning: unused parameter 'progr_rate' [-Wunused-parameter] 52 | size_t progr_rate, | ~~~~~~~^~~~~~~~~~ -
uidplus_parser.c:53:25: warning: unused parameter 'progr_fun' [-Wunused-parameter] 53 | progress_function * progr_fun) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
uidplus_parser.c:68:12: warning: unused parameter 'progr_rate' [-Wunused-parameter] 68 | size_t progr_rate, | ~~~~~~~^~~~~~~~~~ -
uidplus_parser.c:69:25: warning: unused parameter 'progr_fun' [-Wunused-parameter] 69 | progress_function * progr_fun) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
uidplus_parser.c:336:119: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 336 | static int mailimap_uidplus_uidnotsticky_parse(mailstream * fd, MMAPString * buffer, struct mailimap_parser_context * parser_ctx, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
idle.c:122: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); | ^ -
quota.c:107:17: warning: cast between incompatible function types from 'void (*)(struct mailimap_quota_quota_data *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 107 | (clist_func) &mailimap_quota_quota_data_free, NULL); | ^ -
quota.c:112:19: warning: cast between incompatible function types from 'void (*)(struct mailimap_extension_data *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 112 | (clist_func) mailimap_extension_data_free, NULL); | ^ -
quota.c:131:9: warning: cast between incompatible function types from 'void (*)(struct mailimap_extension_data *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 131 | (clist_func) mailimap_extension_data_free, NULL); | ^ -
quota.c:141:9: warning: cast between incompatible function types from 'void (*)(struct mailimap_quota_quota_data *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 141 | (clist_func) &mailimap_quota_quota_data_free, NULL); | ^ -
quota.c:149:9: warning: cast between incompatible function types from 'void (*)(struct mailimap_quota_quota_data *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 149 | (clist_func) &mailimap_quota_quota_data_free, NULL); | ^ -
quota_parser.c:147:7: warning: cast between incompatible function types from 'void (*)(struct mailimap_quota_quota_resource *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 147 | (clist_func) &mailimap_quota_quota_resource_free, NULL); | ^ -
quota_parser.c:156:12: warning: unused parameter 'progr_rate' [-Wunused-parameter] 156 | size_t progr_rate, progress_function * progr_fun) | ~~~~~~~^~~~~~~~~~ -
quota_parser.c:156:44: warning: unused parameter 'progr_fun' [-Wunused-parameter] 156 | size_t progr_rate, progress_function * progr_fun) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
quota_parser.c:262:7: warning: cast between incompatible function types from 'void (*)(struct mailimap_quota_quota_resource *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 262 | (clist_func) &mailimap_quota_quota_resource_free, NULL); | ^ -
quota_parser.c:348:7: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 348 | (clist_func) &mailimap_astring_free, NULL); | ^ -
quota_types.c: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); | ^ -
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); | ^ -
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); | ^ -
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); | ^ -
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) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
xgmmsgid.c:68:65: warning: unused parameter 'progr_rate' [-Wunused-parameter] 68 | uint64_t * result, size_t progr_rate, progress_function * progr_fun) | ~~~~~~~^~~~~~~~~~ -
xgmmsgid.c:68:97: warning: unused parameter 'progr_fun' [-Wunused-parameter] 68 | uint64_t * result, size_t progr_rate, progress_function * progr_fun) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
xgmthrid.c:68:65: warning: unused parameter 'progr_rate' [-Wunused-parameter] 68 | uint64_t * result, size_t progr_rate, progress_function * progr_fun) | ~~~~~~~^~~~~~~~~~ -
xgmthrid.c:68:97: warning: unused parameter 'progr_fun' [-Wunused-parameter] 68 | uint64_t * result, size_t progr_rate, progress_function * progr_fun) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
xgmthrid.c:97:90: warning: unused parameter 'parser_ctx' [-Wunused-parameter] 97 | MMAPString * buffer, struct mailimap_parser_context * parser_ctx, size_t * indx, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
mailimap_id_types.c:54:34: warning: cast 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); | ^ -
mailimap_id_parser.c:51:12: warning: unused parameter 'progr_rate' [-Wunused-parameter] 51 | size_t progr_rate, | ~~~~~~~^~~~~~~~~~ -
mailimap_id_parser.c:52:25: warning: unused parameter 'progr_fun' [-Wunused-parameter] 52 | progress_function * progr_fun) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
mailimap_id_parser.c:103:43: warning: unused parameter 'progr_rate' [-Wunused-parameter] 103 | size_t progr_rate, | ~~~~~~~^~~~~~~~~~ -
mailimap_id_parser.c:104:56: warning: unused parameter 'progr_fun' [-Wunused-parameter] 104 | progress_function * progr_fun) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
mailimap_id_parser.c:178:26: warning: cast between incompatible function types from 'void (*)(struct mailimap_id_param *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 178 | clist_foreach(items, (clist_func) mailimap_id_param_free, NULL); | ^ -
enable.c:265:29: warning: cast between incompatible function types from 'void (*)(struct mailimap_capability *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 265 | clist_foreach(cap_list, (clist_func) mailimap_capability_free, NULL); | ^ -
condstore.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) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
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); | ^ -
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, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
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, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
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); | ^ -
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); | ^ -
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_types_helper.c:1282:50: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 463 and 500 [-Wformat-truncation=] 1282 | snprintf(id, MAX_MESSAGE_ID, "etPan.%lx.%lx.%x@%s", | ^~ 1283 | (long) now, value, getpid(), name); | ~~~~ -
maildir.c:513:41: warning: '/tmp/etpan-maildir-XXXXXX' directive output may be truncated writing 25 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 513 | snprintf(tmpname, sizeof(tmpname), "%s/tmp/etpan-maildir-XXXXXX", | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
maildir.c:131:45: warning: '/tmp/' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 131 | snprintf(filename, sizeof(filename), "%s/tmp/%s", | ^~~~~ -
maildir.c:555:61: warning: '/new/' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 555 | snprintf(delivery_new_name, sizeof(delivery_new_name), "%s/new/%s", | ^~~~~ -
maildir.c:574:43: warning: '/new' directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 574 | snprintf(path_new, sizeof(path_new), "%s/new", md->mdir_path); | ^~~~ -
maildir.c:395:43: warning: '/new' directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 395 | snprintf(path_new, sizeof(path_new), "%s/new", md->mdir_path); | ^~~~ -
maildir.c:396:43: warning: '/cur' directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 396 | snprintf(path_cur, sizeof(path_cur), "%s/cur", md->mdir_path); | ^~~~ -
maildir.c:446:10: warning: '/maildirfolder' directive output may be truncated writing 14 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 446 | "%s/maildirfolder", md->mdir_path); | ^~~~~~~~~~~~~~ -
maildir.c:668:44: warning: '%s' directive output may be truncated writing 3 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 668 | snprintf(filename, sizeof(filename), "%s/%s/%s", | ^~ -
maildir.c:702:44: warning: '%s' directive output may be truncated writing 3 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 702 | snprintf(filename, sizeof(filename), "%s/%s/%s", | ^~ -
maildir.c:746:44: warning: '%s' directive output may be truncated writing 3 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 746 | snprintf(filename, sizeof(filename), "%s/%s/%s", | ^~ -
maildir.c:777:54: warning: '%s' directive output may be truncated writing 3 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 777 | snprintf(new_filename, sizeof(new_filename), "%s/%s/%s:2,%s", | ^~ -
maildir.c:774:54: warning: '%s' directive output may be truncated writing 3 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 774 | snprintf(new_filename, sizeof(new_filename), "%s/%s/%s", | ^~ -
mailmbox.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, | ~~~~~~~^~~~~~~~~~~~~ -
mailmbox.c:1338:35: warning: 'XXXXXX' directive output may be truncated writing 6 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 1338 | snprintf(tmp_file, PATH_MAX, "%sXXXXXX", folder->mb_filename); | ^~~~~~ -
mailmbox_types.c:200:3: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 200 | strncpy(folder->mb_filename, mb_filename, PATH_MAX); | ^ -
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.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.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.c:100:19: warning: cast between incompatible function types from 'void (*)(struct mailmime_parameter *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 100 | (clist_func) mailmime_parameter_free, NULL); | ^ -
mailmime_types.c:336:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 336 | if (field->fld_data.fld_location != NULL) | ^~ -
mailmime_types.c: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_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_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_content.c:1972:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 1972 | if (in_header) { | ^ -
mailmime_decode.c:328:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 328 | if (state == 1) { | ^ -
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_types_helper.c:243:35: warning: cast between incompatible function types from 'void (*)(struct mailmime_field *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 243 | clist_foreach(fields->fld_list, (clist_func) mailmime_field_detach, NULL); | ^ -
mailmime_types_helper.c:280:35: warning: cast between incompatible function types from 'void (*)(struct mailmime_field *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 280 | clist_foreach(fields->fld_list, (clist_func) mailmime_field_detach, NULL); | ^ -
mailmime_types_helper.c:1194:23: warning: cast between incompatible function types from 'void (*)(struct mailmime_disposition_parm *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1194 | clist_foreach(list, (clist_func) mailmime_disposition_parm_free, NULL); | ^ -
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:2414:17: warning: argument 1 null where non-null expected [-Wnonnull] 2414 | article = atoi((char *) clist_content(current)); | ^~~~ -
newsnntp.c:2459:14: warning: argument 1 null where non-null expected [-Wnonnull] 2459 | size = atoi((char *) clist_content(current)); | ^~~~ -
newsnntp.c:2469:20: warning: argument 1 null where non-null expected [-Wnonnull] 2469 | line_count = atoi((char *) clist_content(current)); | ^~~~ -
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:1487:30: warning: unused parameter 'f' [-Wunused-parameter] 1487 | int mailpop3_auth(mailpop3 * f, const char * auth_type, | ~~~~~~~~~~~^ -
mailpop3.c:1487:46: warning: unused parameter 'auth_type' [-Wunused-parameter] 1487 | int mailpop3_auth(mailpop3 * f, const char * auth_type, | ~~~~~~~~~~~~~^~~~~~~~~ -
mailpop3.c:1488:18: warning: unused parameter 'server_fqdn' [-Wunused-parameter] 1488 | const char * server_fqdn, | ~~~~~~~~~~~~~^~~~~~~~~~~ -
mailpop3.c:1489:18: warning: unused parameter 'local_ip_port' [-Wunused-parameter] 1489 | const char * local_ip_port, | ~~~~~~~~~~~~~^~~~~~~~~~~~~ -
mailpop3.c:1490:18: warning: unused parameter 'remote_ip_port' [-Wunused-parameter] 1490 | const char * remote_ip_port, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ -
mailpop3.c:1491:18: warning: unused parameter 'login' [-Wunused-parameter] 1491 | const char * login, const char * auth_name, | ~~~~~~~~~~~~~^~~~~ -
mailpop3.c:1491:38: warning: unused parameter 'auth_name' [-Wunused-parameter] 1491 | const char * login, const char * auth_name, | ~~~~~~~~~~~~~^~~~~~~~~ -
mailpop3.c:1492:18: warning: unused parameter 'password' [-Wunused-parameter] 1492 | const char * password, const char * realm) | ~~~~~~~~~~~~~^~~~~~~~ -
mailpop3.c:1492:41: warning: unused parameter 'realm' [-Wunused-parameter] 1492 | const char * password, const char * realm) | ~~~~~~~~~~~~~^~~~~ -
mailpop3.c:1709:45: warning: unused parameter 's' [-Wunused-parameter] 1709 | static inline void pop3_logger(mailstream * s, int log_type, | ~~~~~~~~~~~~~^ -
mailsmtp.c:1525:36: warning: unused parameter 'session' [-Wunused-parameter] 1525 | int mailesmtp_auth_sasl(mailsmtp * session, const char * auth_type, | ~~~~~~~~~~~^~~~~~~ -
mailsmtp.c:1525:58: warning: unused parameter 'auth_type' [-Wunused-parameter] 1525 | int mailesmtp_auth_sasl(mailsmtp * session, const char * auth_type, | ~~~~~~~~~~~~~^~~~~~~~~ -
mailsmtp.c:1526:18: warning: unused parameter 'server_fqdn' [-Wunused-parameter] 1526 | const char * server_fqdn, | ~~~~~~~~~~~~~^~~~~~~~~~~ -
mailsmtp.c:1527:18: warning: unused parameter 'local_ip_port' [-Wunused-parameter] 1527 | const char * local_ip_port, | ~~~~~~~~~~~~~^~~~~~~~~~~~~ -
mailsmtp.c:1528:18: warning: unused parameter 'remote_ip_port' [-Wunused-parameter] 1528 | const char * remote_ip_port, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ -
mailsmtp.c:1529:18: warning: unused parameter 'login' [-Wunused-parameter] 1529 | const char * login, const char * auth_name, | ~~~~~~~~~~~~~^~~~~ -
mailsmtp.c:1529:38: warning: unused parameter 'auth_name' [-Wunused-parameter] 1529 | const char * login, const char * auth_name, | ~~~~~~~~~~~~~^~~~~~~~~ -
mailsmtp.c:1530:18: warning: unused parameter 'password' [-Wunused-parameter] 1530 | const char * password, const char * realm) | ~~~~~~~~~~~~~^~~~~~~~ -
mailsmtp.c:1530:41: warning: unused parameter 'realm' [-Wunused-parameter] 1530 | const char * password, const char * realm) | ~~~~~~~~~~~~~^~~~~ -
mailsmtp.c:1803:45: warning: unused parameter 's' [-Wunused-parameter] 1803 | static inline void smtp_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); | ^ -
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) | ~~~~~~~^~~~~~~~~~~ -
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) | ~~~~~~~~~~~~~~^~~~ -
imapdriver.c:477:71: warning: unused parameter 'mb' [-Wunused-parameter] 477 | static int status_selected_folder(mailsession * session, const char * mb, | ~~~~~~~~~~~~~^~ -
imapdriver.c:943:29: warning: cast 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_cached.c:1194:29: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1194 | clist_foreach(msg_list, (clist_func) free, NULL); | ^ -
imapdriver_cached.c:1199:27: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1199 | clist_foreach(msg_list, (clist_func) free, NULL); | ^ -
imapdriver_cached.c:626:33: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 626 | snprintf(key, PATH_MAX, "%s/%s", cache_dir, quoted_mb); | ^ -
imapdriver_cached_message.c:277:34: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 277 | snprintf(filename, size, "%s/%s", quoted_mb, key); | ^ -
imapdriver_cached_message.c:242:31: warning: '-text' directive output may be truncated writing 5 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 242 | snprintf(key, size, "%s-%s-text", msg_info->msg_uid, section_str); | ^~~~~ -
imapdriver_cached_message.c:239:31: warning: '-mime' directive output may be truncated writing 5 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 239 | snprintf(key, size, "%s-%s-mime", msg_info->msg_uid, section_str); | ^~~~~ -
imapdriver_cached_message.c:236:31: warning: '-header' directive output may be truncated writing 7 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 236 | snprintf(key, size, "%s-%s-header", msg_info->msg_uid, section_str); | ^~~~~~~ -
imapdriver_cached_message.c:233:31: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 233 | snprintf(key, size, "%s-%s", msg_info->msg_uid, section_str); | ^ -
imapdriver_message.c:166:50: warning: unused parameter 'msg_info' [-Wunused-parameter] 166 | static void imap_fetch_result_free(mailmessage * msg_info, | ~~~~~~~~~~~~~~^~~~~~~~ -
imapdriver_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_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_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_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, | ~~~~~~~~~~~~~~^~~~~~~ -
imapstorage.c:73:35: warning: unused parameter 'imap_auth_type' [-Wunused-parameter] 73 | int imap_connection_type, int imap_auth_type, | ~~~~^~~~~~~~~~~~~~ -
maildirdriver.c:270:62: warning: unused parameter 'mb' [-Wunused-parameter] 270 | static int status_folder(mailsession * session, const char * mb, | ~~~~~~~~~~~~~^~ -
maildirdriver.c:312:64: warning: unused parameter 'mb' [-Wunused-parameter] 312 | static int messages_number(mailsession * session, const char * mb, | ~~~~~~~~~~~~~^~ -
maildirdriver_cached.c:713:19: warning: unused parameter 'session' [-Wunused-parameter] 713 | mailsession * session, | ~~~~~~~~~~~~~~^~~~~~~ -
maildirdriver_cached.c:740:19: warning: unused parameter 'session' [-Wunused-parameter] 740 | mailsession * session, char * uid, | ~~~~~~~~~~~~~~^~~~~~~ -
maildirdriver_cached.c:767:19: warning: unused parameter 'session' [-Wunused-parameter] 767 | mailsession * session, char * uid, | ~~~~~~~~~~~~~~^~~~~~~ -
maildirdriver_cached.c:1091:47: warning: '%c' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 1091 | snprintf(filename, sizeof(filename), "%s%c%s%c%s", | ^~ -
maildirdriver_cached.c:984:47: warning: '%c' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 984 | snprintf(filename, sizeof(filename), "%s%c%s%c%s", | ^~ -
maildirdriver_cached.c:366:33: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 366 | snprintf(key, PATH_MAX, "%s/%s", data->md_cache_directory, quoted_mb); | ^ -
maildirdriver_cached.c:373:33: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 373 | snprintf(key, PATH_MAX, "%s/%s", data->md_flags_directory, quoted_mb); | ^ -
maildirdriver_cached.c:836:43: warning: '%c' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 836 | snprintf(filename_env, PATH_MAX, "%s%c%s%c%s", | ^~ -
maildirdriver_cached.c:846:45: warning: '%c' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 846 | snprintf(filename_flags, PATH_MAX, "%s%c%s%c%s", | ^~ -
maildirdriver_cached.c:503:45: warning: '%c' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 503 | snprintf(filename_flags, PATH_MAX, "%s%c%s%c%s", | ^~ -
maildirdriver_cached.c:797:34: warning: '-flags' directive output may be truncated writing 6 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 797 | snprintf(keyname, PATH_MAX, "%s-flags", uid); | ^~~~~~ -
maildirdriver_cached.c:652:47: warning: '%c' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 652 | snprintf(filename, sizeof(filename), "%s%c%s%c%s", | ^~ -
maildirdriver_cached_message.c:296:45: warning: '%c' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 296 | snprintf(filename_flags, PATH_MAX, "%s%c%s%c%s", | ^~ -
maildirstorage.c:192:12: warning: unused parameter 'pathname' [-Wunused-parameter] 192 | 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, | ~~~~~~~~~~~~~^~ -
mboxdriver_cached.c:976:45: warning: '%c' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 976 | snprintf(filename_flags, PATH_MAX, "%s%c%s%c%s", | ^~ -
mboxdriver_cached.c:413:38: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 413 | snprintf(dirname, PATH_MAX, "%s%c%s", | ^ -
mboxdriver_cached.c:422:38: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 422 | snprintf(dirname, PATH_MAX, "%s%c%s", | ^ -
mboxdriver_cached.c:561:39: warning: '%c' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 561 | snprintf(filename, PATH_MAX, "%s%c%s%c%s", | ^~ -
mboxdriver_cached.c:486:39: warning: '%c' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 486 | snprintf(filename, PATH_MAX, "%s%c%s%c%s", | ^~ -
mboxdriver_cached.c:722:45: warning: '%c' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 722 | snprintf(filename_flags, PATH_MAX, "%s%c%s%c%s", | ^~ -
mboxdriver_cached.c:817:45: warning: '%c' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 817 | snprintf(filename_flags, PATH_MAX, "%s%c%s%c%s", | ^~ -
mboxdriver_cached.c:1157:43: warning: '%c' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 1157 | snprintf(filename_env, PATH_MAX, "%s%c%s%c%s", | ^~ -
mboxdriver_cached.c:1168:45: warning: '%c' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 1168 | snprintf(filename_flags, PATH_MAX, "%s%c%s%c%s", | ^~ -
mboxdriver_cached_message.c:292:46: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 292 | snprintf(filename_flags, PATH_MAX, "%s/%s/%s", | ^ -
mboxstorage.c:191:12: warning: unused parameter 'pathname' [-Wunused-parameter] 191 | char * pathname, mailsession ** result) | ~~~~~~~^~~~~~~~ -
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) | ~~~~~~~~~~~~~~~~~~~~^~~~~ -
mhdriver_cached.c:950:44: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 950 | snprintf(filename_flags, PATH_MAX, "%s/%s/%s", | ^ -
mhdriver_cached.c:770:44: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 770 | snprintf(filename_flags, PATH_MAX, "%s/%s/%s", | ^ -
mhdriver_cached.c:587:37: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 587 | snprintf(dirname, PATH_MAX, "%s/%s", | ^ -
mhdriver_cached.c:596:37: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 596 | snprintf(dirname, PATH_MAX, "%s/%s", | ^ -
mhdriver_cached.c:682:44: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 682 | snprintf(filename_flags, PATH_MAX, "%s/%s/%s", | ^ -
mhdriver_cached.c:1128:42: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 1128 | snprintf(filename_env, PATH_MAX, "%s/%s/%s", | ^ -
mhdriver_cached.c:1138:44: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 1138 | snprintf(filename_flags, PATH_MAX, "%s/%s/%s", | ^ -
mhdriver_cached.c:327:38: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 327 | snprintf(filename, PATH_MAX, "%s/%s/%s", | ^ -
mhdriver_cached.c:254:38: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 254 | snprintf(filename, PATH_MAX, "%s/%s/%s", | ^ -
mhdriver_cached_message.c:276:46: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 276 | snprintf(filename_flags, PATH_MAX, "%s/%s/%s", | ^ -
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, | ~~~~~~~~~~~~~~^~~~~~~ -
nntpdriver_cached.c:728:42: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 728 | snprintf(seq_filename, PATH_MAX, "%s/%s/%s", | ^ -
nntpdriver_cached.c:495:44: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 495 | snprintf(filename_flags, PATH_MAX, "%s/%s/%s", | ^ -
nntpdriver_cached.c:412:33: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 412 | snprintf(key, PATH_MAX, "%s/%s", cached_data->nntp_cache_directory, | ^ -
nntpdriver_cached.c:421:33: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 421 | snprintf(key, PATH_MAX, "%s/%s", cached_data->nntp_flags_directory, | ^ -
nntpdriver_cached.c:869:42: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 869 | snprintf(filename_env, PATH_MAX, "%s/%s/%s", | ^ -
nntpdriver_cached.c:879:44: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 879 | snprintf(filename_flags, PATH_MAX, "%s/%s/%s", | ^ -
nntpdriver_cached.c:780:42: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 780 | snprintf(seq_filename, PATH_MAX, "%s/%s/%s", | ^ -
nntpdriver_cached.c:1000:39: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 1000 | snprintf(cache_dir, PATH_MAX, "%s/%s", | ^ -
nntpdriver_cached_message.c:325:46: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 325 | snprintf(filename_flags, PATH_MAX, "%s/%s/%s", | ^ -
nntpdriver_cached_message.c:144:38: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 144 | snprintf(filename, PATH_MAX, "%s/%s/%i", cached_data->nntp_cache_directory, | ^ -
nntpdriver_cached_message.c:259:38: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 259 | snprintf(filename, PATH_MAX, "%s/%s/%i-header", | ^ -
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, | ~~~~~~~~~~~~~^~ -
pop3driver_cached.c:416:42: warning: '%s' directive output may be truncated writing 8 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 416 | snprintf(filename_flags, PATH_MAX, "%s/%s", | ^~ -
pop3driver_cached.c:499:42: warning: '%s' directive output may be truncated writing 8 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 499 | snprintf(filename_flags, PATH_MAX, "%s/%s", | ^~ -
pop3driver_cached.c:745:40: warning: '%s' directive output may be truncated writing 6 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 745 | snprintf(filename_env, PATH_MAX, "%s/%s", | ^~ -
pop3driver_cached.c:760:42: warning: '%s' directive output may be truncated writing 8 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 760 | snprintf(filename_flags, PATH_MAX, "%s/%s", | ^~ -
pop3driver_cached_message.c:316:44: warning: '%s' directive output may be truncated writing 8 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 316 | snprintf(filename_flags, PATH_MAX, "%s/%s", | ^~ -
pop3driver_cached_message.c:142:38: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 142 | snprintf(filename, PATH_MAX, "%s/%s", | ^ -
pop3driver_cached_message.c:260:38: warning: '-header' directive output may be truncated writing 7 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 260 | snprintf(filename, PATH_MAX, "%s/%s-header", | ^~~~~~~ -
pop3storage.c:476:12: warning: unused parameter 'pathname' [-Wunused-parameter] 476 | char * pathname, mailsession ** result) | ~~~~~~~^~~~~~~~ -
dbdriver.c:438:33: warning: unused parameter 'session' [-Wunused-parameter] 438 | static int logout(mailsession * session) | ~~~~~~~~~~~~~~^~~~~~~ -
dbdriver.c:565:62: warning: unused parameter 'mb' [-Wunused-parameter] 565 | static int status_folder(mailsession * session, const char * mb, | ~~~~~~~~~~~~~^~ -
dbdriver.c:1016:34: warning: unused parameter 'result' [-Wunused-parameter] 1016 | uint32_t num, mailmessage ** result) | ~~~~~~~~~~~~~~~^~~~~~ -
dbdriver.c:433:3: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 433 | strncpy(data->db_filename, path, sizeof(data->db_filename)); | ^ -
dbstorage.c:143:12: warning: unused parameter 'pathname' [-Wunused-parameter] 143 | char * pathname, mailsession ** result) | ~~~~~~~^~~~~~~~ -
feeddriver.c:281:75: warning: unused parameter 'mb' [-Wunused-parameter] 281 | static int feeddriver_messages_number(mailsession * session, const char * mb, | ~~~~~~~~~~~~~^~ -
feeddriver.c:328:45: warning: unused parameter 'session' [-Wunused-parameter] 328 | feeddriver_get_envelopes_list(mailsession * session, | ~~~~~~~~~~~~~~^~~~~~~ -
feeddriver.c:329: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) | ~~~~~~~~~~~~~~~^~~~~~ -
feeddriver_message.c:187:14: warning: unused parameter 'result' [-Wunused-parameter] 187 | size_t * result) | ~~~~~~~~~^~~~~~ -
feedstorage.c:178:12: warning: unused parameter 'pathname' [-Wunused-parameter] 178 | char * pathname, mailsession ** result) | ~~~~~~~^~~~~~~~ -
maildriver_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); | ^ -
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); | ^ -
mailmessage_tools.c:175:53: warning: unused parameter 'msg_info' [-Wunused-parameter] 175 | mailmessage_generic_fetch_result_free(mailmessage * msg_info, char * msg) | ~~~~~~~~~~~~~~^~~~~~~~ -
mailmessage_tools.c:360:49: warning: unused parameter 'msg_info' [-Wunused-parameter] 360 | mailmessage_generic_fetch_section(mailmessage * msg_info, | ~~~~~~~~~~~~~~^~~~~~~~ -
mailmessage_tools.c:393:56: warning: unused parameter 'msg_info' [-Wunused-parameter] 393 | mailmessage_generic_fetch_section_header(mailmessage * msg_info, | ~~~~~~~~~~~~~~^~~~~~~~ -
mailmessage_tools.c:452:54: warning: unused parameter 'msg_info' [-Wunused-parameter] 452 | mailmessage_generic_fetch_section_mime(mailmessage * msg_info, | ~~~~~~~~~~~~~~^~~~~~~~ -
mailmessage_tools.c:506:54: warning: unused parameter 'msg_info' [-Wunused-parameter] 506 | mailmessage_generic_fetch_section_body(mailmessage * msg_info, | ~~~~~~~~~~~~~~^~~~~~~~ -
mailstorage_tools.c:398:9: warning: unused parameter 'auth_type' [-Wunused-parameter] 398 | int auth_type, | ~~~~^~~~~~~~~ -
generic_cache.c:220:23: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 220 | clist_foreach(list, (clist_func) free, NULL); | ^ -
generic_cache.c:259:22: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 259 | clist_foreach(ext, (clist_func) free, NULL); | ^ -
generic_cache.c:347:23: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 347 | clist_foreach(list, (clist_func) free, NULL); | ^ -
imfcache.c:353:23: warning: cast between incompatible function types from 'void (*)(struct mailimf_field *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 353 | clist_foreach(list, (clist_func) mailimf_field_free, NULL); | ^ -
imfcache.c:931:23: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 931 | clist_foreach(list, (clist_func) free, NULL); | ^ -
imfcache.c:958:32: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 958 | clist_foreach(msg_id_list, (clist_func) free, NULL); | ^ -
imfcache.c:988:32: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 988 | clist_foreach(msg_id_list, (clist_func) free, NULL); | ^ -
imfcache.c:1135:23: warning: cast between incompatible function types from 'void (*)(struct mailimf_address *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1135 | clist_foreach(list, (clist_func) mailimf_address_free, NULL); | ^ -
imfcache.c:1373:23: warning: cast between incompatible function types from 'void (*)(struct mailimf_mailbox *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1373 | clist_foreach(list, (clist_func) mailimf_mailbox_free, NULL); | ^ -
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, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
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, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
mailprivacy_gnupg.c:1041:55: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4049 [-Wformat-truncation=] 1041 | "gpg --passphrase-fd=0 --batch --yes --decrypt '%s'", | ^~ 1042 | quoted_encrypted_filename); | ~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailprivacy_gnupg.c:656:67: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4068 [-Wformat-truncation=] 656 | snprintf(command, sizeof(command), "gpg --batch --yes --verify '%s' '%s'", | ^~ 657 | quoted_signature_filename, quoted_signed_filename); | ~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailprivacy_gnupg.c:460:55: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4049 [-Wformat-truncation=] 460 | "gpg --passphrase-fd=0 --batch --yes --decrypt '%s'", | ^~ 461 | quoted_encrypted_filename); | ~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailprivacy_gnupg.c:823:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4067 [-Wformat-truncation=] 823 | "gpg --batch --yes --decrypt '%s'", quoted_signed_filename); | ^~ ~~~~~~~~~~~~~~~~~~~~~~ -
mailprivacy_gnupg.c:1463:73: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4033 [-Wformat-truncation=] 1463 | "gpg --passphrase-fd=0 -a --batch --yes --digest-algo sha1 %s -b '%s'", | ^~ 1464 | default_key, quoted_to_sign_filename); | ~~~~~~~~~~~~~~~~~~~~~~~ -
mailprivacy_gnupg.c:2072:43: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4092 [-Wformat-truncation=] 2072 | snprintf(command, sizeof(command), "gpg %s -a --batch --yes -e '%s'", | ^~ 2073 | recipient, quoted_original_filename); | ~~~~~~~~~ -
mailprivacy_gnupg.c:1847:30: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4074 [-Wformat-truncation=] 1847 | "gpg --passphrase-fd=0 %s -a --batch --yes --digest-algo sha1 -s %s -e '%s'", | ^~ 1848 | recipient, default_key, quoted_original_filename); | ~~~~~~~~~ -
mailprivacy_gnupg.c:2289:79: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4027 [-Wformat-truncation=] 2289 | "gpg --passphrase-fd=0 --batch --yes --digest-algo sha1 %s --clearsign '%s'", | ^~ 2290 | default_key, quoted_original_filename); | ~~~~~~~~~~~~~~~~~~~~~~~~ -
mailprivacy_gnupg.c:2468:43: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4092 [-Wformat-truncation=] 2468 | snprintf(command, sizeof(command), "gpg %s --batch --yes -e --armor '%s'", | ^~ 2469 | recipient, quoted_original_filename); | ~~~~~~~~~ -
mailprivacy_gnupg.c:2660:30: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4074 [-Wformat-truncation=] 2660 | "gpg --passphrase-fd=0 %s --batch --yes --digest-algo sha1 " | ^~ 2661 | "%s -e -s -a '%s'", 2662 | recipient, default_key, quoted_original_filename); | ~~~~~~~~~ -
mailprivacy_smime.c:619:54: warning: unused parameter 'privacy' [-Wunused-parameter] 619 | static int smime_test_encrypted(struct mailprivacy * privacy, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
mailprivacy_smime.c:620:19: warning: unused parameter 'msg' [-Wunused-parameter] 620 | mailmessage * msg, | ~~~~~~~~~~~~~~^~~ -
mailprivacy_smime.c:1358:58: warning: unused parameter 'privacy' [-Wunused-parameter] 1358 | void mailprivacy_smime_set_cert_dir(struct mailprivacy * privacy, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
mailprivacy_smime.c:1442:65: warning: unused parameter 'privacy' [-Wunused-parameter] 1442 | void mail_private_smime_clear_private_keys(struct mailprivacy * privacy) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
mailprivacy_smime.c:1516:58: warning: unused parameter 'privacy' [-Wunused-parameter] 1516 | void mailprivacy_smime_set_CA_check(struct mailprivacy * privacy, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
mailprivacy_smime.c:1522:60: warning: unused parameter 'privacy' [-Wunused-parameter] 1522 | void mailprivacy_smime_set_store_cert(struct mailprivacy * privacy, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
mailprivacy_smime.c:1633:50: warning: unused parameter 'privacy' [-Wunused-parameter] 1633 | static void set_private_key(struct mailprivacy * privacy, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
mailprivacy_smime.c:1746:46: warning: unused parameter 'privacy' [-Wunused-parameter] 1746 | static clist * get_list(struct mailprivacy * privacy, mailmessage * msg) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
mailprivacy_smime.c:1867:62: warning: unused parameter 'privacy' [-Wunused-parameter] 1867 | int mailprivacy_smime_set_encryption_id(struct mailprivacy * privacy, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
mailprivacy_smime.c:1900:51: warning: unused parameter 'privacy' [-Wunused-parameter] 1900 | static char * get_passphrase(struct mailprivacy * privacy, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
mailprivacy_smime.c:798:46: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4058 [-Wformat-truncation=] 798 | "openssl smime -sign -passin fd:0 -in '%s' -signer '%s' -inkey '%s'", | ^~ 799 | quoted_signed_filename, | ~~~~~~~~~~~~~~~~~~~~~~ -
mailprivacy_smime.c:1596:7: warning: '-cert.pem' directive output may be truncated writing 9 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 1596 | "%s/%s" CERTIFICATE_SUFFIX, cert_dir, email); | ^~~~~~~ -
mailprivacy_smime.c:1606:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4065 [-Wformat-truncation=] 1606 | "openssl pkcs7 -inform DER -in '%s' -out '%s' -print_certs 2>/dev/null", | ^~ 1607 | quoted_signature_filename, quoted_store_cert_filename); | ~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailprivacy_smime.c:470:52: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4087 [-Wformat-truncation=] 470 | snprintf(check_CA, sizeof(check_CA), "-CAfile '%s'", quoted_CAfile); | ^~ ~~~~~~~~~~~~~ -
mailprivacy_smime.c:514:66: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4069 [-Wformat-truncation=] 514 | snprintf(command, sizeof(command), "openssl smime -verify -in '%s' %s %s", | ^~ 515 | quoted_smime_filename, check_CA, noverify); | ~~~~~~~~~~~~~~~~~~~~~ -
mailprivacy_smime.c:1083:67: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4068 [-Wformat-truncation=] 1083 | snprintf(command, sizeof(command), "openssl smime -encrypt -in '%s' %s", | ^~ 1084 | quoted_decrypted_filename, recipient); | ~~~~~~~~~~~~~~~~~~~~~~~~~ -
mailprivacy_smime.c:317:51: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4055 [-Wformat-truncation=] 317 | "openssl smime -decrypt -passin fd:0 -in '%s' -inkey '%s' -recip '%s'", | ^~ 318 | quoted_smime_filename, quoted_smime_key, quoted_smime_cert); | ~~~~~~~~~~~~~~~~~~~~~ -
mailprivacy_tools.c:1214:23: warning: cast between incompatible function types from 'void (*)(struct mailmime_parameter *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1214 | clist_foreach(list, (clist_func) mailmime_parameter_free, NULL); | ^ -
mailprivacy_tools.c:525:5: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 525 | strncpy(basename_buf, filename, PATH_MAX); | ^ -
/nix/store/r7qf82zlzc2dly3nrdran1qxgzjj7626-glibc-2.42-67-dev/include/bits/string_fortified.h:29:10: warning: '*(short unsigned int *)(&old_prefix[0])' may be used uninitialized [-Wmaybe-uninitialized] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mime-create.c:317:14: warning: unused parameter 'argc' [-Wunused-parameter] 317 | int main(int argc, char ** argv) | ~~~~^~~~ -
mime-create.c:317:28: warning: unused parameter 'argv' [-Wunused-parameter] 317 | int main(int argc, char ** argv) | ~~~~~~~~^~~~ -
mime-parse.c:355:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 355 | fread(data, 1, stat_info.st_size, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~