r15871 - gnucash/trunk/src/gnome-utils - a bit safer.

Josh Sled jsled at cvs.gnucash.org
Tue Apr 10 22:57:21 EDT 2007


Author: jsled
Date: 2007-04-10 22:57:20 -0400 (Tue, 10 Apr 2007)
New Revision: 15871
Trac: http://svn.gnucash.org/trac/changeset/15871

Modified:
   gnucash/trunk/src/gnome-utils/gnc-file.c
Log:
a bit safer.


Modified: gnucash/trunk/src/gnome-utils/gnc-file.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-file.c	2007-04-11 02:08:23 UTC (rev 15870)
+++ gnucash/trunk/src/gnome-utils/gnc-file.c	2007-04-11 02:57:20 UTC (rev 15871)
@@ -831,8 +831,8 @@
 gnc_file_open (void)
 {
   const char * newfile;
-  char *lastfile;
-  gchar *last_file_dir;
+  char *lastfile = NULL;
+  gchar *last_file_dir = NULL;
   gboolean result;
 
   if (!gnc_file_query_save (TRUE))



More information about the gnucash-changes mailing list