pidgin: ca07365c: Fix this compile warning:

markdoliner at pidgin.im markdoliner at pidgin.im
Tue Aug 16 00:53:26 EDT 2011


----------------------------------------------------------------------
Revision: ca07365c6eb9a12b008397dd5ad34231e8d6e89e
Parent:   e82c55dd768472ac776e9b8db4f25af4532300d1
Author:   markdoliner at pidgin.im
Date:     08/16/11 00:45:39
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/ca07365c6eb9a12b008397dd5ad34231e8d6e89e

Changelog: 

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

Changes against parent e82c55dd768472ac776e9b8db4f25af4532300d1

  patched  libpurple/protocols/msn/switchboard.c

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/switchboard.c	df8530257f896961eb86df5eb80653d92e7d1cd8
+++ libpurple/protocols/msn/switchboard.c	5da66f3d15024b12f90845eb547015040c81c219
@@ -1085,7 +1085,7 @@ msn_switchboard_request(MsnSwitchBoard *
 	MsnCmdProc *cmdproc;
 	MsnTransaction *trans;
 
-	g_return_if_fail(swboard != NULL);
+	g_return_val_if_fail(swboard != NULL, FALSE);
 
 	cmdproc = swboard->session->notification->cmdproc;
 


More information about the Commits mailing list