summaryrefslogtreecommitdiff
path: root/plugins/smartcard
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2020-08-10 14:34:23 +0200
committerZenWalker <[email protected]>2020-08-15 14:10:03 +0200
commit7e8357d5cc6e04ae96734e2c8e1f87b9a154a52c (patch)
tree7fdf5c59c8cea2f9067146344434a3d17f69ae71 /plugins/smartcard
parent27adfb941829c99638219e3e76371c86e42e3dcb (diff)
downloadmate-settings-daemon-7e8357d5cc6e04ae96734e2c8e1f87b9a154a52c.tar.bz2
mate-settings-daemon-7e8357d5cc6e04ae96734e2c8e1f87b9a154a52c.tar.xz
add G_GNUC_UNUSED in some unused parameters
Diffstat (limited to 'plugins/smartcard')
-rw-r--r--plugins/smartcard/msd-smartcard-plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/smartcard/msd-smartcard-plugin.c b/plugins/smartcard/msd-smartcard-plugin.c
index 66e8530..b11deda 100644
--- a/plugins/smartcard/msd-smartcard-plugin.c
+++ b/plugins/smartcard/msd-smartcard-plugin.c
@@ -158,7 +158,7 @@ msd_smartcard_plugin_finalize (GObject *object)
}
static void
-smartcard_inserted_cb (MsdSmartcardManager *card_monitor,
+smartcard_inserted_cb (MsdSmartcardManager *card_monitor G_GNUC_UNUSED,
MsdSmartcard *card,
MsdSmartcardPlugin *plugin)
{
@@ -229,7 +229,7 @@ process_smartcard_removal (MsdSmartcardPlugin *plugin)
}
static void
-smartcard_removed_cb (MsdSmartcardManager *card_monitor,
+smartcard_removed_cb (MsdSmartcardManager *card_monitor G_GNUC_UNUSED,
MsdSmartcard *card,
MsdSmartcardPlugin *plugin)
{