changeset 23351:9cb1e75854f1

Kill the warning 'field' may be used uninitialized in this function
author Stu Tomlinson <stu@nosnilmot.com>
date Wed, 11 Jun 2008 02:42:23 +0000
parents adc85bf02fa0
children adda955a8db6 c45d05bd58ed 6e468ac26aac
files libpurple/protocols/jabber/xdata.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/xdata.c	Tue Jun 10 16:23:14 2008 +0000
+++ b/libpurple/protocols/jabber/xdata.c	Wed Jun 11 02:42:23 2008 +0000
@@ -201,7 +201,7 @@
 	xmlnode *fn, *x;
 	PurpleRequestFields *fields;
 	PurpleRequestFieldGroup *group;
-	PurpleRequestField *field;
+	PurpleRequestField *field = NULL;
 
 	char *title = NULL;
 	char *instructions = NULL;