Mercurial > pidgin.yaz
diff libpurple/protocols/myspace/message.c @ 20861:9c2ec10933b2
Fix CID 342 (which wasn't wrong, but was inefficient and confusing.)
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Wed, 10 Oct 2007 00:08:54 +0000 |
parents | 5440eed4ec7e |
children | 0e68dab2a362 |
line wrap: on
line diff
--- a/libpurple/protocols/myspace/message.c Wed Oct 10 00:00:21 2007 +0000 +++ b/libpurple/protocols/myspace/message.c Wed Oct 10 00:08:54 2007 +0000 @@ -314,7 +314,7 @@ MsimMessageElement *elem; MsimMessage **new; gpointer new_data; - + GString *gs; MsimMessage *dict; @@ -349,7 +349,7 @@ default: purple_debug_info("msim", "msim_msg_clone_element: unknown type %d\n", elem->type); - g_return_if_fail(NULL); + g_return_if_reached(); } /* Append cloned data. Note that the 'name' field is a static string, so it @@ -905,7 +905,7 @@ default: g_free(data_string); - g_return_if_fail(FALSE); + g_return_if_reached(); break; }