mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Mark some QofLogModules as potentially unused
- __attribute__((unused)) for C - [[maybe_unused]] for cpp
This commit is contained in:
parent
9446ae7fb7
commit
4e25bbfc43
@ -93,7 +93,7 @@ static unsigned int periods[] =
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* This static indicates the debugging module that this .o belongs to. */
|
/* This static indicates the debugging module that this .o belongs to. */
|
||||||
static QofLogModule log_module = GNC_MOD_GUI;
|
__attribute__((unused)) static QofLogModule log_module = GNC_MOD_GUI;
|
||||||
|
|
||||||
|
|
||||||
/** Prototypes **********************************************************/
|
/** Prototypes **********************************************************/
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
#define WINDOW_AUTOCLEAR_CM_CLASS "window-autoclear"
|
#define WINDOW_AUTOCLEAR_CM_CLASS "window-autoclear"
|
||||||
|
|
||||||
static QofLogModule log_module = GNC_MOD_GUI;
|
__attribute__((unused)) static QofLogModule log_module = GNC_MOD_GUI;
|
||||||
|
|
||||||
/** STRUCTS *********************************************************/
|
/** STRUCTS *********************************************************/
|
||||||
struct _AutoClearWindow
|
struct _AutoClearWindow
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
namespace bl = boost::locale;
|
namespace bl = boost::locale;
|
||||||
|
|
||||||
/* This static indicates the debugging module that this .o belongs to. */
|
/* This static indicates the debugging module that this .o belongs to. */
|
||||||
static QofLogModule log_module = GNC_MOD_GUI;
|
[[maybe_unused]] static QofLogModule log_module = GNC_MOD_GUI;
|
||||||
|
|
||||||
namespace Gnucash {
|
namespace Gnucash {
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
#include "dialog-ab-select-imexporter.h"
|
#include "dialog-ab-select-imexporter.h"
|
||||||
#include <dialog-utils.h>
|
#include <dialog-utils.h>
|
||||||
|
|
||||||
static QofLogModule log_module = G_LOG_DOMAIN;
|
__attribute__((unused)) static QofLogModule log_module = G_LOG_DOMAIN;
|
||||||
|
|
||||||
struct _GncABSelectImExDlg
|
struct _GncABSelectImExDlg
|
||||||
{
|
{
|
||||||
|
@ -51,7 +51,7 @@
|
|||||||
#define AMOUNTS_TABLE "budget_amounts"
|
#define AMOUNTS_TABLE "budget_amounts"
|
||||||
#define AMOUNTS_TABLE_VERSION 1
|
#define AMOUNTS_TABLE_VERSION 1
|
||||||
|
|
||||||
static QofLogModule log_module = G_LOG_DOMAIN;
|
[[maybe_unused]] static QofLogModule log_module = G_LOG_DOMAIN;
|
||||||
|
|
||||||
#define BUDGET_MAX_NAME_LEN 2048
|
#define BUDGET_MAX_NAME_LEN 2048
|
||||||
#define BUDGET_MAX_DESCRIPTION_LEN 2048
|
#define BUDGET_MAX_DESCRIPTION_LEN 2048
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
#include "splint-defs.h"
|
#include "splint-defs.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static QofLogModule log_module = G_LOG_DOMAIN;
|
[[maybe_unused]] static QofLogModule log_module = G_LOG_DOMAIN;
|
||||||
|
|
||||||
static gpointer get_quote_source_name (gpointer pObject);
|
static gpointer get_quote_source_name (gpointer pObject);
|
||||||
static void set_quote_source_name (gpointer pObject, gpointer pValue);
|
static void set_quote_source_name (gpointer pObject, gpointer pValue);
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
|
|
||||||
#define _GNC_MOD_NAME GNC_ID_ORDER
|
#define _GNC_MOD_NAME GNC_ID_ORDER
|
||||||
|
|
||||||
static QofLogModule log_module = G_LOG_DOMAIN;
|
[[maybe_unused]] static QofLogModule log_module = G_LOG_DOMAIN;
|
||||||
|
|
||||||
#define TABLE_NAME "orders"
|
#define TABLE_NAME "orders"
|
||||||
#define TABLE_VERSION 1
|
#define TABLE_VERSION 1
|
||||||
|
@ -46,7 +46,7 @@
|
|||||||
|
|
||||||
#include "sixtp-dom-parsers.h"
|
#include "sixtp-dom-parsers.h"
|
||||||
|
|
||||||
static const QofLogModule log_module = G_LOG_DOMAIN;
|
[[maybe_unused]] static const QofLogModule log_module = G_LOG_DOMAIN;
|
||||||
const gchar* transaction_version_string = "2.0.0";
|
const gchar* transaction_version_string = "2.0.0";
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user