solanum-vs-hackint-and-char.../modules/core
Simon Arlott d8f0b5d763
cppcheck: fix various warnings/errors
[ircd/match.c:316]: (error) Shifting a negative value is undefined behaviour
[librb/src/patricia.c:55]: (error) Shifting a negative value is undefined behaviour
[modules/m_alias.c:64]: (portability) '(void*)message' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined.
[modules/m_time.c:111]: (warning) %u in format string (no. 9) requires 'unsigned int' but the argument type is 'signed int'.
[modules/m_time.c:111]: (warning) %u in format string (no. 10) requires 'unsigned int' but the argument type is 'signed int'.
[librb/src/dictionary.c:819]: (warning) %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'.
[librb/src/radixtree.c:1080]: (warning) %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'.
[ircd/s_user.c:351] -> [ircd/s_user.c:357]: (warning) Either the condition '0!=source_p' is redundant or there is possible null pointer dereference: source_p.
[extensions/ip_cloaking_3.0.c:109]: (warning, inconclusive) The buffer 'buf' may not be null-terminated after the call to strncpy().
[ircd/chmode.c:256]: (style) Clarify calculation precedence for '&' and '?'.
[modules/m_help.c:100]: (style) Clarify calculation precedence for '&' and '?'.
[modules/m_knock.c:169]: (style) Clarify calculation precedence for '&' and '?'.
[modules/m_stats.c:628]: (style) Clarify calculation precedence for '&' and '?'.
[modules/m_stats.c:727]: (style) Clarify calculation precedence for '&' and '?'.
[librb/src/radixtree.c:601]: (style) Clarify calculation precedence for '&' and '?'.
[librb/src/radixtree.c:704]: (style) Clarify calculation precedence for '&' and '?'.
[librb/src/radixtree.c:739]: (style) Clarify calculation precedence for '&' and '?'.
[librb/src/radixtree.c:763]: (style) Clarify calculation precedence for '&' and '?'.
[librb/src/radixtree.c:768]: (style) Clarify calculation precedence for '&' and '?'.
[librb/src/radixtree.c:774]: (style) Clarify calculation precedence for '&' and '?'.
[librb/src/radixtree.c:781]: (style) Clarify calculation precedence for '&' and '?'.
[librb/src/radixtree.c:786]: (style) Clarify calculation precedence for '&' and '?'.
[librb/src/radixtree.c:791]: (style) Clarify calculation precedence for '&' and '?'.
[librb/src/radixtree.c:804]: (style) Clarify calculation precedence for '&' and '?'.
[ircd/wsproc.c:372]: (style) Unused variable: len
[modules/core/m_modules.c:382]: (style) Unused variable: i
[modules/m_stats.c:741]: (style) Unused variable: amsg
[ircd/authproc.c:390]: (style) Unused variable: iter
[ircd/authproc.c:391]: (style) Unused variable: client_p
2016-10-28 20:13:36 +01:00
..
m_ban.c common.h: raison d'être is gone, so out it goes. 2016-03-23 09:33:56 -05:00
m_die.c Message handlers should return void. 2016-03-09 01:37:03 -06:00
m_error.c Use rb_* versions of nonportable string functions 2016-04-05 05:39:59 -05:00
m_join.c supported: add chantypes_update() 2016-09-16 13:49:02 -05:00
m_kick.c Message handlers should return void. 2016-03-09 01:37:03 -06:00
m_kill.c Message handlers should return void. 2016-03-09 01:37:03 -06:00
m_message.c common.h: raison d'être is gone, so out it goes. 2016-03-23 09:33:56 -05:00
m_mode.c Message handlers should return void. 2016-03-09 01:37:03 -06:00
m_modules.c cppcheck: fix various warnings/errors 2016-10-28 20:13:36 +01:00
m_nick.c Add hooks for local and remote nick changes 2016-09-16 00:04:16 -05:00
m_part.c common.h: raison d'être is gone, so out it goes. 2016-03-23 09:33:56 -05:00
m_quit.c Message handlers should return void. 2016-03-09 01:37:03 -06:00
m_server.c strcpy: mass-migrate to strlcpy where appropriate 2016-05-15 03:58:44 +00:00
m_squit.c common.h: raison d'être is gone, so out it goes. 2016-03-23 09:33:56 -05:00