Skip to content

Commit

Permalink
eggsmclient: add G_GNUC_UNUSED in unused parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0w committed Jun 1, 2024
1 parent 2771985 commit 5ca66e7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions lapiz/smclient/eggsmclient.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
static void egg_sm_client_debug_handler (const char *log_domain,
GLogLevelFlags log_level,
const char *message,
gpointer user_data);
gpointer user_data G_GNUC_UNUSED);

enum {
SAVE_STATE,
Expand All @@ -50,7 +50,7 @@ static EggSMClient *global_client;
static EggSMClientMode global_client_mode = EGG_SM_CLIENT_MODE_NORMAL;

static void
egg_sm_client_init (EggSMClient *client)
egg_sm_client_init (EggSMClient *client G_GNUC_UNUSED)
{
;
}
Expand Down Expand Up @@ -177,10 +177,10 @@ static char *sm_client_id = NULL;
static char *sm_config_prefix = NULL;

static gboolean
sm_client_post_parse_func (GOptionContext *context,
GOptionGroup *group,
gpointer data,
GError **error)
sm_client_post_parse_func (GOptionContext *context G_GNUC_UNUSED,
GOptionGroup *group G_GNUC_UNUSED,
gpointer data G_GNUC_UNUSED,
GError **error G_GNUC_UNUSED)
{
EggSMClient *client = egg_sm_client_get ();

Expand Down Expand Up @@ -557,7 +557,7 @@ static void
egg_sm_client_debug_handler (const char *log_domain,
GLogLevelFlags log_level,
const char *message,
gpointer user_data)
gpointer user_data G_GNUC_UNUSED)
{
static int debug = -1;

Expand Down

0 comments on commit 5ca66e7

Please sign in to comment.