diff --git a/ChangeLog b/ChangeLog index 262227497d..0eb3c889cc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-11-24 Derek Atkins + + * src/engine/Account.c -- fix some compiler warnings + * src/gnome/window-register.c -- fix a compiler warning + * src/gnome/dialog-scheduledxaction.c -- fix a compiler warning + 2002-11-24 David Hampton * src/app-file/gncmod-app-file.c: diff --git a/src/engine/Account.c b/src/engine/Account.c index bb1f7e94ef..f5ddb67566 100644 --- a/src/engine/Account.c +++ b/src/engine/Account.c @@ -1248,8 +1248,7 @@ xaccAccountFixSplitDateOrder (Account * acc, Split *split) void xaccTransFixSplitDateOrder (Transaction *trans) { - GList *node, *next; - static int level = 0; + GList *node; if (trans == NULL) return; diff --git a/src/gnome/dialog-scheduledxaction.c b/src/gnome/dialog-scheduledxaction.c index 4f973bb9c2..c6c276b188 100644 --- a/src/gnome/dialog-scheduledxaction.c +++ b/src/gnome/dialog-scheduledxaction.c @@ -1811,7 +1811,7 @@ putSchedXactionInDialog( gpointer data, gpointer user_data ) GString *nextDate; gint row; int i; - GDate *nextInstDate, *calEndDate; + GDate *nextInstDate = NULL, *calEndDate; int instArraySize; GDate **instArray; GList *instList; diff --git a/src/gnome/window-register.c b/src/gnome/window-register.c index 87c3a7c9b2..a29d9b5c99 100644 --- a/src/gnome/window-register.c +++ b/src/gnome/window-register.c @@ -124,7 +124,7 @@ gnc_RegWindow_set_pcd (RegWindow *data, gpointer pcd) /* This static indicates the debugging module that this .o belongs to. */ /* static short module = MOD_GUI; */ -static short module = MOD_SX; /* for the moment... */ +//static short module = MOD_SX; /* for the moment... */ static int last_width = 0; static int last_stock_width = 0;