changeset 27444:daa38f8926eb

We can't return based on the value of an uninitialized variable, as gcc correctly warns us
author Stu Tomlinson <stu@nosnilmot.com>
date Fri, 10 Jul 2009 01:45:26 +0000
parents 8983eefa62c5
children 065294d973b4
files libpurple/protocols/qq/buddy_opt.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/qq/buddy_opt.c	Fri Jul 10 01:31:29 2009 +0000
+++ b/libpurple/protocols/qq/buddy_opt.c	Fri Jul 10 01:45:26 2009 +0000
@@ -1012,7 +1012,6 @@
 	guint16 flag1, flag2;
 
 	g_return_if_fail(data != NULL && data_len >= 5);
-	g_return_if_fail(uid != 0);
 
 	qd = (qq_data *) gc->proto_data;