[Gnucash-changes] r13798 - gnucash/trunk/src/gnome-utils - Initialize some variables before usage so that gcc does not complain.

Andreas Köhler andi5 at cvs.gnucash.org
Mon Apr 17 10:30:35 EDT 2006


Author: andi5
Date: 2006-04-17 10:30:34 -0400 (Mon, 17 Apr 2006)
New Revision: 13798
Trac: http://svn.gnucash.org/trac/changeset/13798

Modified:
   gnucash/trunk/src/gnome-utils/druid-gnc-xml-import.c
Log:
Initialize some variables before usage so that gcc does not complain.


Modified: gnucash/trunk/src/gnome-utils/druid-gnc-xml-import.c
===================================================================
--- gnucash/trunk/src/gnome-utils/druid-gnc-xml-import.c	2006-04-17 13:06:33 UTC (rev 13797)
+++ gnucash/trunk/src/gnome-utils/druid-gnc-xml-import.c	2006-04-17 14:30:34 UTC (rev 13798)
@@ -838,8 +838,8 @@
 static void
 gxi_update_summary_label (GncXmlImportData *data)
 {
-  gchar *string;
-  gboolean show;
+  gchar *string=NULL;
+  gboolean show=FALSE;
 
   if (data->n_unassigned) {
     if (data->n_impossible) {
@@ -1149,7 +1149,7 @@
   GList *found, *default_conv;
   gboolean is_active;
   ambiguous_type *amb;
-  conv_type *prev_conv, *curr_conv;
+  conv_type *prev_conv, *curr_conv=NULL;
   gpointer ptr;
   GQuark prev_enc, curr_enc;
 



More information about the gnucash-changes mailing list