diff options
author | Timo Sirainen <cras@irssi.org> | 2001-02-28 18:48:23 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-02-28 18:48:23 +0000 |
commit | fb488720f587602d007ccb10a541c87446ec31de (patch) | |
tree | 35c30dd41151abbcdcf88962ca1012d3d14cfd1d /src/core/nicklist.c | |
parent | bfa83e82bcf5cef891c1ce77e8a0169cae91d399 (diff) | |
download | irssi-fb488720f587602d007ccb10a541c87446ec31de.zip |
functions returning void shouldn't do return xx
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1303 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/nicklist.c')
-rw-r--r-- | src/core/nicklist.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/core/nicklist.c b/src/core/nicklist.c index d1463d9b..c5b5aaac 100644 --- a/src/core/nicklist.c +++ b/src/core/nicklist.c @@ -138,15 +138,15 @@ static void nicklist_rename_list(SERVER_REC *server, const char *old_nick, void nicklist_rename(SERVER_REC *server, const char *old_nick, const char *new_nick) { - return nicklist_rename_list(server, old_nick, new_nick, - nicklist_get_same(server, old_nick)); + nicklist_rename_list(server, old_nick, new_nick, + nicklist_get_same(server, old_nick)); } void nicklist_rename_unique(SERVER_REC *server, void *old_nick_id, const char *old_nick, const char *new_nick) { - return nicklist_rename_list(server, old_nick, new_nick, - nicklist_get_same_unique(server, old_nick_id)); + nicklist_rename_list(server, old_nick, new_nick, + nicklist_get_same_unique(server, old_nick_id)); } static NICK_REC *nicklist_find_wildcards(CHANNEL_REC *channel, @@ -378,15 +378,15 @@ static void nicklist_update_flags_list(SERVER_REC *server, int gone, void nicklist_update_flags(SERVER_REC *server, const char *nick, int gone, int serverop) { - return nicklist_update_flags_list(server, gone, serverop, - nicklist_get_same(server, nick)); + nicklist_update_flags_list(server, gone, serverop, + nicklist_get_same(server, nick)); } void nicklist_update_flags_unique(SERVER_REC *server, void *id, int gone, int serverop) { - return nicklist_update_flags_list(server, gone, serverop, - nicklist_get_same_unique(server, id)); + nicklist_update_flags_list(server, gone, serverop, + nicklist_get_same_unique(server, id)); } /* Specify which nick in channel is ours */ |