mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
19fdc8ff94
commit
09d90de350
@ -97,7 +97,6 @@ log4glib_handler(const gchar *log_domain,
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
{
|
{
|
||||||
gboolean last_char_is_newline;
|
|
||||||
char timestamp_buf[10];
|
char timestamp_buf[10];
|
||||||
time_t now;
|
time_t now;
|
||||||
struct tm now_tm;
|
struct tm now_tm;
|
||||||
|
@ -34,10 +34,8 @@
|
|||||||
#include "sixtp-parsers.h"
|
#include "sixtp-parsers.h"
|
||||||
#include "sixtp-stack.h"
|
#include "sixtp-stack.h"
|
||||||
|
|
||||||
#define LOG_MOD "gnc.backend.file.sixtp"
|
|
||||||
static QofLogModule log_module = LOG_MOD;
|
|
||||||
#undef G_LOG_DOMAIN
|
#undef G_LOG_DOMAIN
|
||||||
#define G_LOG_DOMAIN LOG_MOD
|
#define G_LOG_DOMAIN "gnc.backend.file.sixtp"
|
||||||
|
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
gboolean
|
gboolean
|
||||||
|
@ -87,10 +87,8 @@
|
|||||||
|
|
||||||
#include "FreqSpecP.h"
|
#include "FreqSpecP.h"
|
||||||
|
|
||||||
#define LOG_MOD "gnc.engine.freqspec"
|
|
||||||
static QofLogModule log_module = LOG_MOD;
|
|
||||||
#undef G_LOG_DOMAIN
|
#undef G_LOG_DOMAIN
|
||||||
#define G_LOG_DOMAIN LOG_MOD
|
#define G_LOG_DOMAIN "gnc.engine.freqspec"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* FIXME: should be in a header file
|
* FIXME: should be in a header file
|
||||||
|
@ -525,7 +525,6 @@ recurrenceListToCompactString(GList *rs)
|
|||||||
{
|
{
|
||||||
Recurrence *r = (Recurrence*)g_list_nth_data(rs, 0);
|
Recurrence *r = (Recurrence*)g_list_nth_data(rs, 0);
|
||||||
guint multiplier = recurrenceGetMultiplier(r);
|
guint multiplier = recurrenceGetMultiplier(r);
|
||||||
GDate date = recurrenceGetDate(r);
|
|
||||||
|
|
||||||
switch (recurrenceGetPeriodType(r))
|
switch (recurrenceGetPeriodType(r))
|
||||||
{
|
{
|
||||||
|
@ -2142,7 +2142,6 @@ make_trans_query (Transaction *trans, TestQueryTypes query_types)
|
|||||||
static Recurrence*
|
static Recurrence*
|
||||||
daily_freq(GDate* start, int multiplier)
|
daily_freq(GDate* start, int multiplier)
|
||||||
{
|
{
|
||||||
QofBook *book = qof_session_get_book(gnc_get_current_session());
|
|
||||||
Recurrence *r = g_new0(Recurrence, 1);
|
Recurrence *r = g_new0(Recurrence, 1);
|
||||||
recurrenceSet(r, multiplier, PERIOD_DAY, start);
|
recurrenceSet(r, multiplier, PERIOD_DAY, start);
|
||||||
return r;
|
return r;
|
||||||
@ -2151,7 +2150,6 @@ daily_freq(GDate* start, int multiplier)
|
|||||||
static Recurrence*
|
static Recurrence*
|
||||||
once_freq(GDate *when)
|
once_freq(GDate *when)
|
||||||
{
|
{
|
||||||
QofBook *book = qof_session_get_book(gnc_get_current_session());
|
|
||||||
Recurrence *r = g_new0(Recurrence, 1);
|
Recurrence *r = g_new0(Recurrence, 1);
|
||||||
recurrenceSet(r, 1, PERIOD_ONCE, when);
|
recurrenceSet(r, 1, PERIOD_ONCE, when);
|
||||||
return r;
|
return r;
|
||||||
|
Loading…
Reference in New Issue
Block a user