Mercurial > pidgin
changeset 31796:22cb8c11bba8
Fix this compile warning:
switchboard.c: In function ¡Æmsn_switchboard_request¡Ç:
switchboard.c:1088:2: warning: ¡Æreturn¡Ç with no value, in function returning non-void
Seems like this started in revision e4038d4f
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 16 Aug 2011 04:45:39 +0000 |
parents | c4859b6b1d74 |
children | f452f20502a4 04ce276d941a |
files | libpurple/protocols/msn/switchboard.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/msn/switchboard.c Mon Aug 15 04:18:59 2011 +0000 +++ b/libpurple/protocols/msn/switchboard.c Tue Aug 16 04:45:39 2011 +0000 @@ -1085,7 +1085,7 @@ MsnCmdProc *cmdproc; MsnTransaction *trans; - g_return_if_fail(swboard != NULL); + g_return_val_if_fail(swboard != NULL, FALSE); cmdproc = swboard->session->notification->cmdproc;