below some potential interesting output of "-Wextra -Wformat -Wformat-security 
-Wstack-protector -Wall"
latest 3.1 source 69c0592867ad012bd1b78b873b65f7e53064971c

sortsieve.c:206:12: warning: variable 'mime' set but not used 
[-Wunused-but-set-variable]
sortsieve.c:264:17: warning: variable 'options' set but not used 
[-Wunused-but-set-variable]
sortsieve.c:263:6: warning: variable 'importance' set but not used 
[-Wunused-but-set-variable]
sortsieve.c:261:35: warning: variable 'method' set but not used 
[-Wunused-but-set-variable]
sortsieve.c:261:14: warning: variable 'message' set but not used 
[-Wunused-but-set-variable]
dbmail-message.c:353:44: warning: variable 'key' set but not used 
[-Wunused-but-set-variable]
dbmail-message.c:353:28: warning: variable 'order' set but not used 
[-Wunused-but-set-variable]
dbmail.h:1643:21: warning: the address of 'config' will always evaluate as 
'true' [-Waddress]
dbmail.h:1643:21: warning: the address of 'config' will always evaluate as 
'true' [-Waddress]
dbmail.h:1643:21: warning: the address of 'val' will always evaluate as 'true' 
[-Waddress]
dbmail.h:1643:21: warning: the address of 'val' will always evaluate as 'true' 
[-Waddress]
dm_db.c:54:7: warning: variable 'p' set but not used [-Wunused-but-set-variable]
dbmail-mailbox.c:1084:11: warning: variable 'i' set but not used 
[-Wunused-but-set-variable]
dbmail-mailbox.c:1149:8: warning: variable 'inset' might be clobbered by 
'longjmp' or 'vfork' [-Wclobbered]
dbmail-message.c:1208:24: warning: 'r' may be used uninitialized in this 
function [-Wmaybe-uninitialized]
dbmail-message.c:1169:14: warning: variable 'r' might be clobbered by 'longjmp' 
or 'vfork' [-Wclobbered]
dm_db.c:2018:24: warning: variable 'mailbox_like' might be clobbered by 
'longjmp' or 'vfork' [-Wclobbered]
dbmail.h:1643:21: warning: the address of 'hash_algorithm' will always evaluate 
as 'true' [-Waddress]
dbmail.h:1643:21: warning: the address of 'hash_algorithm' will always evaluate 
as 'true' [-Waddress]
dbmail.h:1643:21: warning: the address of 'hash_algorithm' will always evaluate 
as 'true' [-Waddress]
dbmail.h:1643:21: warning: the address of 'hash_algorithm' will always evaluate 
as 'true' [-Waddress]
dbmail.h:1643:21: warning: the address of 'hash_algorithm' will always evaluate 
as 'true' [-Waddress]
dbmail.h:1643:21: warning: the address of 'hash_algorithm' will always evaluate 
as 'true' [-Waddress]
dm_string.c:155:2: warning: comparison of unsigned expression >= 0 is always 
true [-Wtype-limits]
dm_db.c:2568:24: warning: variable 'mailbox_like' might be clobbered by 
'longjmp' or 'vfork' [-Wclobbered]
../src/mpool/mpool.c:1414:48: warning: variable 'fence' set but not used 
[-Wunused-but-set-variable]
../src/mpool/mpool.c:1414:28: warning: variable 'new_size' set but not used 
[-Wunused-but-set-variable]
../src/mpool/mpool.c:59:14: warning: 'version' defined but not used 
[-Wunused-variable]
server.c:552:38: warning: unused parameter 'event' [-Wunused-parameter]
server.c:261:13: warning: '_cb_log_event' defined but not used 
[-Wunused-function]
clientbase.c:281:21: warning: variable 'after' set but not used 
[-Wunused-but-set-variable]
clientbase.c:281:9: warning: variable 'before' set but not used 
[-Wunused-but-set-variable]
clientbase.c:457:77: warning: argument 'username' might be clobbered by 
'longjmp' or 'vfork' [-Wclobbered]
authmodule.c:171:2: warning: passing argument 2 of 'auth->validate' discards 
'const' qualifier from pointer target
type [enabled by default]
authmodule.c:171:2: warning: passing argument 3 of 'auth->validate' discards 
'const' qualifier from pointer target
type [enabled by default]
imap4.c:178:26: warning: unused parameter 'fd' [-Wunused-parameter]
imap4.c:178:36: warning: unused parameter 'what' [-Wunused-parameter]
imap4.c:237:25: warning: unused parameter 'fd' [-Wunused-parameter]
dbmail.h:1643:21: warning: the address of 'config' will always evaluate as 
'true' [-Waddress]
dbmail.h:1643:21: warning: the address of 'config' will always evaluate as 
'true' [-Waddress]
user.c:357:9: warning: ignoring return value of 'fgets', declared with 
attribute warn_unused_result [-Wunused-result]
dbmail-imapsession.c:677:11: warning: variable 'query' might be clobbered by 
'longjmp' or 'vfork' [-Wclobbered]

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
DBmail mailing list
DBmail@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to