mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
These files have the QofLogModule defined but never used
In two minds on this, comment the line out or add macro to stop it showing up as defined but never used, chose the latter.
This commit is contained in:
parent
b264a060bf
commit
64675b64eb
@ -57,9 +57,10 @@
|
||||
#include "guile-util.h"
|
||||
#include "guile-mappings.h"
|
||||
|
||||
/* This static indicates the debugging module this .o belongs to. */
|
||||
static QofLogModule log_module = GNC_MOD_GUILE;
|
||||
#define UNUSED_VAR __attribute__ ((unused))
|
||||
|
||||
/* This static indicates the debugging module this .o belongs to. */
|
||||
static QofLogModule UNUSED_VAR log_module = GNC_MOD_GUILE;
|
||||
|
||||
struct _setters
|
||||
{
|
||||
|
@ -126,7 +126,9 @@ struct _invoice_select_window
|
||||
GncOwner owner_def;
|
||||
};
|
||||
|
||||
static QofLogModule log_module = G_LOG_DOMAIN; //G_LOG_BUSINESS;
|
||||
#define UNUSED_VAR __attribute__ ((unused))
|
||||
|
||||
static QofLogModule UNUSED_VAR log_module = G_LOG_DOMAIN; //G_LOG_BUSINESS;
|
||||
|
||||
/** This data structure does double duty. It is used to maintain
|
||||
* information for the "New Invoice" dialog, and it is also used to
|
||||
|
@ -39,8 +39,10 @@
|
||||
#define IMPORT_FULL_PATH "FullPath"
|
||||
#define IMPORT_ACCOUNT "Account"
|
||||
|
||||
#define UNUSED_VAR __attribute__ ((unused))
|
||||
|
||||
/* This static indicates the debugging module that this .o belongs to. */
|
||||
static QofLogModule log_module = G_LOG_DOMAIN;
|
||||
static QofLogModule UNUSED_VAR log_module = G_LOG_DOMAIN;
|
||||
|
||||
/**************************************************
|
||||
* account_imap_destroy
|
||||
|
@ -75,7 +75,10 @@ void gnc_import_gui_type_cb (GtkWidget *widget, gpointer data);
|
||||
// utils
|
||||
static gchar *gnc_input_dialog (GtkWidget *parent, const gchar *title, const gchar *msg, const gchar *default_input);
|
||||
static void gnc_info2_dialog (GtkWidget *parent, const gchar *title, const gchar *msg);
|
||||
static QofLogModule log_module = G_LOG_DOMAIN; //G_LOG_BUSINESS;
|
||||
|
||||
#define UNUSED_VAR __attribute__ ((unused))
|
||||
|
||||
static QofLogModule UNUSED_VAR log_module = G_LOG_DOMAIN; //G_LOG_BUSINESS;
|
||||
|
||||
BillImportGui *
|
||||
gnc_plugin_bi_import_showGUI(void)
|
||||
|
@ -59,8 +59,10 @@
|
||||
|
||||
/** Static Globals *****************************************************/
|
||||
|
||||
#define UNUSED_VAR __attribute__ ((unused))
|
||||
|
||||
/* This static indicates the debugging module that this .o belongs to. */
|
||||
static QofLogModule log_module = GNC_MOD_REGISTER;
|
||||
static QofLogModule UNUSED_VAR log_module = GNC_MOD_REGISTER;
|
||||
|
||||
|
||||
/** Implementation *****************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user