r16553 - gnucash/branches/csv-import/src/import-export/csv - Fix compiler warning

Christian Stimming cstim at cvs.gnucash.org
Sat Oct 6 04:58:14 EDT 2007


Author: cstim
Date: 2007-10-06 04:58:09 -0400 (Sat, 06 Oct 2007)
New Revision: 16553
Trac: http://svn.gnucash.org/trac/changeset/16553

Modified:
   gnucash/branches/csv-import/src/import-export/csv/gnc-csv-model.c
Log:
Fix compiler warning

Modified: gnucash/branches/csv-import/src/import-export/csv/gnc-csv-model.c
===================================================================
--- gnucash/branches/csv-import/src/import-export/csv/gnc-csv-model.c	2007-10-05 20:38:21 UTC (rev 16552)
+++ gnucash/branches/csv-import/src/import-export/csv/gnc-csv-model.c	2007-10-06 08:58:09 UTC (rev 16553)
@@ -1008,7 +1008,7 @@
     gboolean errors = FALSE;
     gchar* error_message = NULL;
     TransPropertyList* list = trans_property_list_new(account, parse_data->date_format);
-    GncCsvTransLine* trans_line;
+    GncCsvTransLine* trans_line = NULL;
 
     for(j = 0; j < line->len; j++)
     {



More information about the gnucash-changes mailing list