r14867 - gnucash/trunk/src/engine - Eliminate some compile warnings.

David Hampton hampton at cvs.gnucash.org
Mon Sep 18 23:15:22 EDT 2006


Author: hampton
Date: 2006-09-18 23:15:21 -0400 (Mon, 18 Sep 2006)
New Revision: 14867
Trac: http://svn.gnucash.org/trac/changeset/14867

Modified:
   gnucash/trunk/src/engine/binreloc.c
Log:
Eliminate some compile warnings.

Modified: gnucash/trunk/src/engine/binreloc.c
===================================================================
--- gnucash/trunk/src/engine/binreloc.c	2006-09-19 00:56:26 UTC (rev 14866)
+++ gnucash/trunk/src/engine/binreloc.c	2006-09-19 03:15:21 UTC (rev 14867)
@@ -308,7 +308,7 @@
 gboolean
 gbr_init (GError **error)
 {
-	GbrInitError errcode;
+	GbrInitError errcode = 0;
 
 	/* Locate the application's filename. */
 	exe = _br_find_exe (&errcode);
@@ -336,7 +336,7 @@
 gboolean
 gbr_init_lib (GError **error)
 {
-	GbrInitError errcode;
+	GbrInitError errcode = 0;
 
 	exe = _br_find_exe_for_symbol ((const void *) "", &errcode);
 	if (exe != NULL)



More information about the gnucash-changes mailing list