Skip to content

Commit

Permalink
eggsmclient-xsmp: test unused parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0w committed May 18, 2024
1 parent f2833f4 commit dc0e14a
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions lapiz/smclient/eggsmclient-xsmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ sm_client_xsmp_will_quit (EggSMClient *client,

static gboolean
sm_client_xsmp_end_session (EggSMClient *client,
EggSMClientEndStyle style,
// EggSMClientEndStyle style,
gboolean request_confirmation)
{
EggSMClientXSMP *xsmp = (EggSMClientXSMP *)client;
Expand Down Expand Up @@ -605,7 +605,7 @@ fix_broken_state (EggSMClientXSMP *xsmp, const char *message,
/* SM callbacks */

static void
xsmp_save_yourself (SmcConn smc_conn,
xsmp_save_yourself (//SmcConn smc_conn,
SmPointer client_data,
int save_type,
Bool shutdown,
Expand Down Expand Up @@ -924,7 +924,7 @@ save_state (EggSMClientXSMP *xsmp)
}

static void
xsmp_interact (SmcConn smc_conn,
xsmp_interact (//SmcConn smc_conn,
SmPointer client_data)
{
EggSMClientXSMP *xsmp = client_data;
Expand All @@ -944,7 +944,7 @@ xsmp_interact (SmcConn smc_conn,
}

static void
xsmp_die (SmcConn smc_conn,
xsmp_die (//SmcConn smc_conn,
SmPointer client_data)
{
EggSMClientXSMP *xsmp = client_data;
Expand All @@ -958,7 +958,7 @@ xsmp_die (SmcConn smc_conn,
}

static void
xsmp_save_complete (SmcConn smc_conn,
xsmp_save_complete (//SmcConn smc_conn,
SmPointer client_data)
{
EggSMClientXSMP *xsmp = client_data;
Expand All @@ -973,7 +973,7 @@ xsmp_save_complete (SmcConn smc_conn,
}

static void
xsmp_shutdown_cancelled (SmcConn smc_conn,
xsmp_shutdown_cancelled (//SmcConn smc_conn,
SmPointer client_data)
{
EggSMClientXSMP *xsmp = client_data;
Expand Down Expand Up @@ -1299,16 +1299,16 @@ process_ice_messages (IceConn ice_conn)
}

static gboolean
ice_iochannel_watch (GIOChannel *channel,
GIOCondition condition,
ice_iochannel_watch (/*GIOChannel *channel,
GIOCondition condition,*/
gpointer client_data)
{
return process_ice_messages (client_data);
}

static void
ice_connection_watch (IceConn ice_conn,
IcePointer client_data,
// IcePointer client_data,
Bool opening,
IcePointer *watch_data)
{
Expand All @@ -1335,31 +1335,31 @@ ice_connection_watch (IceConn ice_conn,
}

static void
ice_error_handler (IceConn ice_conn,
ice_error_handler (void/*IceConn ice_conn,
Bool swap,
int offending_minor_opcode,
unsigned long offending_sequence,
int error_class,
int severity,
IcePointer values)
IcePointer values*/)
{
/* Do nothing */
}

static void
ice_io_error_handler (IceConn ice_conn)
ice_io_error_handler (void/*IceConn ice_conn*/)
{
/* Do nothing */
}

static void
smc_error_handler (SmcConn smc_conn,
smc_error_handler (/*SmcConn smc_conn,
Bool swap,
int offending_minor_opcode,
unsigned long offending_sequence,
int error_class,
int severity,
SmPointer values)
SmPointer values*/void)
{
/* Do nothing */
}

0 comments on commit dc0e14a

Please sign in to comment.