summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-ignore.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2014-02-10 17:42:53 +0100
committerSebastien Helleu <flashcode@flashtux.org>2014-02-10 17:42:53 +0100
commit437767c0ca37ab06d0f2c2ff2831c7ebe1c3e61f (patch)
treecc89ab5a0aa0d9a7fe280fcac8e72dcf590937eb /src/plugins/irc/irc-ignore.c
parenta0bf3938f18c275fe585639db7ad9d945e462d94 (diff)
downloadweechat-437767c0ca37ab06d0f2c2ff2831c7ebe1c3e61f.zip
api: add integer return code for functions hook_{signal|hsignal}_send
Diffstat (limited to 'src/plugins/irc/irc-ignore.c')
-rw-r--r--src/plugins/irc/irc-ignore.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/irc/irc-ignore.c b/src/plugins/irc/irc-ignore.c
index e510ccf5f..b639d84ff 100644
--- a/src/plugins/irc/irc-ignore.c
+++ b/src/plugins/irc/irc-ignore.c
@@ -253,8 +253,8 @@ irc_ignore_free (struct t_irc_ignore *ignore)
{
struct t_irc_ignore *ptr_ignore;
- weechat_hook_signal_send ("irc_ignore_removing",
- WEECHAT_HOOK_SIGNAL_POINTER, ignore);
+ (void) weechat_hook_signal_send ("irc_ignore_removing",
+ WEECHAT_HOOK_SIGNAL_POINTER, ignore);
/* decrement number for all ignore after this one */
for (ptr_ignore = ignore->next_ignore; ptr_ignore;
@@ -288,8 +288,8 @@ irc_ignore_free (struct t_irc_ignore *ignore)
free (ignore);
- weechat_hook_signal_send ("irc_ignore_removed",
- WEECHAT_HOOK_SIGNAL_STRING, NULL);
+ (void) weechat_hook_signal_send ("irc_ignore_removed",
+ WEECHAT_HOOK_SIGNAL_STRING, NULL);
}
/*