Mercurial > pidgin.yaz
changeset 30462:4dc2e7aadffe
All these processing functions are called from places where dc != NULL,
so there's no need to waste time checking that.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sat, 24 Apr 2010 20:39:06 +0000 |
parents | 3affd3508612 |
children | 97942038af05 |
files | libpurple/protocols/msn/directconn.c |
diffstat | 1 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/msn/directconn.c Sat Apr 24 20:37:49 2010 +0000 +++ b/libpurple/protocols/msn/directconn.c Sat Apr 24 20:39:06 2010 +0000 @@ -626,8 +626,6 @@ if (purple_debug_is_verbose()) purple_debug_info("msn", "msn_dc_send_foo %p\n", dc); - g_return_if_fail(dc != NULL); - p = msn_dc_new_packet(); p->length = 8; @@ -644,8 +642,6 @@ const gchar *h; guint32 len; - g_return_if_fail(dc != NULL); - p = msn_dc_new_packet(); p->length = 4 + DC_PACKET_HEADER_SIZE; @@ -675,8 +671,6 @@ const gchar *h; guint32 len; - g_return_if_fail(dc != NULL); - p = msn_dc_new_packet(); p->length = 4 + DC_PACKET_HEADER_SIZE;