Unused identifier cleanup.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15718 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Joshua Sled 2007-03-15 00:56:52 +00:00
parent 19fdc8ff94
commit 09d90de350
5 changed files with 2 additions and 10 deletions

View File

@ -97,7 +97,6 @@ log4glib_handler(const gchar *log_domain,
return;
{
gboolean last_char_is_newline;
char timestamp_buf[10];
time_t now;
struct tm now_tm;

View File

@ -34,10 +34,8 @@
#include "sixtp-parsers.h"
#include "sixtp-stack.h"
#define LOG_MOD "gnc.backend.file.sixtp"
static QofLogModule log_module = LOG_MOD;
#undef G_LOG_DOMAIN
#define G_LOG_DOMAIN LOG_MOD
#define G_LOG_DOMAIN "gnc.backend.file.sixtp"
/************************************************************************/
gboolean

View File

@ -87,10 +87,8 @@
#include "FreqSpecP.h"
#define LOG_MOD "gnc.engine.freqspec"
static QofLogModule log_module = LOG_MOD;
#undef G_LOG_DOMAIN
#define G_LOG_DOMAIN LOG_MOD
#define G_LOG_DOMAIN "gnc.engine.freqspec"
/*
* FIXME: should be in a header file

View File

@ -525,7 +525,6 @@ recurrenceListToCompactString(GList *rs)
{
Recurrence *r = (Recurrence*)g_list_nth_data(rs, 0);
guint multiplier = recurrenceGetMultiplier(r);
GDate date = recurrenceGetDate(r);
switch (recurrenceGetPeriodType(r))
{

View File

@ -2142,7 +2142,6 @@ make_trans_query (Transaction *trans, TestQueryTypes query_types)
static Recurrence*
daily_freq(GDate* start, int multiplier)
{
QofBook *book = qof_session_get_book(gnc_get_current_session());
Recurrence *r = g_new0(Recurrence, 1);
recurrenceSet(r, multiplier, PERIOD_DAY, start);
return r;
@ -2151,7 +2150,6 @@ daily_freq(GDate* start, int multiplier)
static Recurrence*
once_freq(GDate *when)
{
QofBook *book = qof_session_get_book(gnc_get_current_session());
Recurrence *r = g_new0(Recurrence, 1);
recurrenceSet(r, 1, PERIOD_ONCE, when);
return r;