pidgin: 3094df9b: We can't return based on the value of an...

nosnilmot at pidgin.im nosnilmot at pidgin.im
Thu Jul 9 21:55:34 EDT 2009


-----------------------------------------------------------------
Revision: 3094df9b8dc017f4257b1b54d175e841cbd6e6ce
Ancestor: 653154be94c497f8ea8ee3ec12801feb40f55999
Author: nosnilmot at pidgin.im
Date: 2009-07-10T01:45:26
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/3094df9b8dc017f4257b1b54d175e841cbd6e6ce

Modified files:
        libpurple/protocols/qq/buddy_opt.c

ChangeLog: 

We can't return based on the value of an uninitialized variable, as gcc
correctly warns us

-------------- next part --------------
============================================================
--- libpurple/protocols/qq/buddy_opt.c	fb195fe1e4c096ce7c17dfe71e8ba655218b11eb
+++ libpurple/protocols/qq/buddy_opt.c	67ff2e18be8108576551ad7355e6bf874828e2aa
@@ -1012,7 +1012,6 @@ void qq_process_buddy_check_code(PurpleC
 	guint16 flag1, flag2;
 
 	g_return_if_fail(data != NULL && data_len >= 5);
-	g_return_if_fail(uid != 0);
 
 	qd = (qq_data *) gc->proto_data;
 


More information about the Commits mailing list