r15032 - gnucash/trunk/src/bin - Fix uninitialzed variable error message.

David Hampton hampton at cvs.gnucash.org
Tue Oct 17 16:41:05 EDT 2006


Author: hampton
Date: 2006-10-17 16:41:03 -0400 (Tue, 17 Oct 2006)
New Revision: 15032
Trac: http://svn.gnucash.org/trac/changeset/15032

Modified:
   gnucash/trunk/src/bin/gnucash-bin.c
Log:
Fix uninitialzed variable error message.

Modified: gnucash/trunk/src/bin/gnucash-bin.c
===================================================================
--- gnucash/trunk/src/bin/gnucash-bin.c	2006-10-17 08:35:15 UTC (rev 15031)
+++ gnucash/trunk/src/bin/gnucash-bin.c	2006-10-17 20:41:03 UTC (rev 15032)
@@ -376,7 +376,7 @@
 inner_main_add_price_quotes(void *closure, int argc, char **argv)
 {
     SCM mod, add_quotes, scm_book, scm_result = SCM_BOOL_F;
-    QofSession *session;
+    QofSession *session = NULL;
 
     mod = scm_c_resolve_module("gnucash price-quotes");
     scm_set_current_module(mod);



More information about the gnucash-changes mailing list