changeset 13424:d52b9874c0de

[gaim-migrate @ 15799] (22:14:58) Daniel Atallah (datallah): rlaager: i'm now getting warnings from gtkconv.c (gtkconv.c:4017: warning: this function may return with or without a value) committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Tue, 07 Mar 2006 04:16:13 +0000
parents ae682fa78d7f
children 95cc25e78ef6
files src/gtkconv.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkconv.c	Tue Mar 07 02:26:13 2006 +0000
+++ b/src/gtkconv.c	Tue Mar 07 04:16:13 2006 +0000
@@ -3783,8 +3783,8 @@
 
 	gtkchat = gtkconv->u.chat;
 	gc      = gaim_conversation_get_gc(conv);
-	g_return_if_fail(gc != NULL);
-	g_return_if_fail(gc->prpl != NULL);
+	g_return_val_if_fail(gc != NULL, NULL);
+	g_return_val_if_fail(gc->prpl != NULL, NULL);
 	prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(gc->prpl);
 
 	/* Setup the outer pane. */