diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2014-02-10 17:42:53 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2014-02-10 17:42:53 +0100 |
commit | 437767c0ca37ab06d0f2c2ff2831c7ebe1c3e61f (patch) | |
tree | cc89ab5a0aa0d9a7fe280fcac8e72dcf590937eb /src/plugins/irc/irc-notify.c | |
parent | a0bf3938f18c275fe585639db7ad9d945e462d94 (diff) | |
download | weechat-437767c0ca37ab06d0f2c2ff2831c7ebe1c3e61f.zip |
api: add integer return code for functions hook_{signal|hsignal}_send
Diffstat (limited to 'src/plugins/irc/irc-notify.c')
-rw-r--r-- | src/plugins/irc/irc-notify.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/irc/irc-notify.c b/src/plugins/irc/irc-notify.c index 503a34cbe..9d0ca4883 100644 --- a/src/plugins/irc/irc-notify.c +++ b/src/plugins/irc/irc-notify.c @@ -434,8 +434,8 @@ void irc_notify_free (struct t_irc_server *server, struct t_irc_notify *notify, int remove_monitor) { - weechat_hook_signal_send ("irc_notify_removing", - WEECHAT_HOOK_SIGNAL_POINTER, notify); + (void) weechat_hook_signal_send ("irc_notify_removing", + WEECHAT_HOOK_SIGNAL_POINTER, notify); /* free data */ if (notify->nick) @@ -468,8 +468,8 @@ irc_notify_free (struct t_irc_server *server, struct t_irc_notify *notify, if (server->notify_count > 0) server->notify_count--; - weechat_hook_signal_send ("irc_notify_removed", - WEECHAT_HOOK_SIGNAL_STRING, NULL); + (void) weechat_hook_signal_send ("irc_notify_removed", + WEECHAT_HOOK_SIGNAL_STRING, NULL); } /* @@ -650,7 +650,7 @@ irc_notify_send_signal (struct t_irc_notify *notify, (away_message && away_message[0]) ? away_message : ""); } - weechat_hook_signal_send (signal, WEECHAT_HOOK_SIGNAL_STRING, data); + (void) weechat_hook_signal_send (signal, WEECHAT_HOOK_SIGNAL_STRING, data); if (data) free (data); |