[Gnucash-changes] r12039 -
gnucash/branches/goffice-update/lib/goffice-0.0.4 - Compile
cleanly using gcc4.
David Hampton
hampton at cvs.gnucash.org
Sat Nov 26 03:42:11 EST 2005
Author: hampton
Date: 2005-11-26 03:42:10 -0500 (Sat, 26 Nov 2005)
New Revision: 12039
Trac: http://svn.gnucash.org/trac/changeset/12039
Modified:
gnucash/branches/goffice-update/lib/goffice-0.0.4/goffice/app/go-plugin.c
gnucash/branches/goffice-update/lib/goffice-0.0.4/plugins/plot_radar/gog-radar.c
Log:
Compile cleanly using gcc4.
Modified: gnucash/branches/goffice-update/lib/goffice-0.0.4/goffice/app/go-plugin.c
===================================================================
--- gnucash/branches/goffice-update/lib/goffice-0.0.4/goffice/app/go-plugin.c 2005-11-26 07:21:09 UTC (rev 12038)
+++ gnucash/branches/goffice-update/lib/goffice-0.0.4/goffice/app/go-plugin.c 2005-11-26 08:42:10 UTC (rev 12039)
@@ -866,7 +866,7 @@
plugin_get_loader_if_needed (GOPlugin *plugin, ErrorInfo **ret_error)
{
GType loader_type;
- ErrorInfo *error;
+ ErrorInfo *error = NULL;
g_return_if_fail (IS_GO_PLUGIN (plugin));
@@ -1336,7 +1336,7 @@
while ((d_name = g_dir_read_name (dir)) != NULL) {
gchar *full_entry_name;
- ErrorInfo *error;
+ ErrorInfo *error = NULL;
GOPlugin *plugin;
if (strcmp (d_name, ".") == 0 || strcmp (d_name, "..") == 0)
@@ -1373,7 +1373,7 @@
GO_INIT_RET_ERROR_INFO (ret_error);
for (dir_iterator = dir_list; dir_iterator != NULL; dir_iterator = dir_iterator->next) {
gchar *dir_name;
- ErrorInfo *error;
+ ErrorInfo *error = NULL;
GSList *dir_plugin_info_list;
dir_name = (gchar *) dir_iterator->data;
Modified: gnucash/branches/goffice-update/lib/goffice-0.0.4/plugins/plot_radar/gog-radar.c
===================================================================
--- gnucash/branches/goffice-update/lib/goffice-0.0.4/plugins/plot_radar/gog-radar.c 2005-11-26 07:21:09 UTC (rev 12038)
+++ gnucash/branches/goffice-update/lib/goffice-0.0.4/plugins/plot_radar/gog-radar.c 2005-11-26 08:42:10 UTC (rev 12039)
@@ -386,8 +386,8 @@
typedef GogPlotView GogRTView;
typedef GogPlotViewClass GogRTViewClass;
-//static double
-double
+static double
+//double
fmin (double a, double b)
{
return (a < b) ? a : b;
More information about the gnucash-changes
mailing list