summaryrefslogtreecommitdiff
path: root/plugins/smartcard
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-20 09:28:10 +0200
committerraveit65 <[email protected]>2022-03-10 23:19:54 +0100
commit4158bfe57dc7dfe224541ffd12095ba15dbdedcf (patch)
tree4b01b03374f05000c8fbcb5482fc57f0b7f55791 /plugins/smartcard
parentb84d06bf1fe99874cdc6c18f2ae4f19acc158ca1 (diff)
downloadmate-settings-daemon-4158bfe57dc7dfe224541ffd12095ba15dbdedcf.tar.bz2
mate-settings-daemon-4158bfe57dc7dfe224541ffd12095ba15dbdedcf.tar.xz
Cppcheck: function parameter can be declared with const
Diffstat (limited to 'plugins/smartcard')
-rw-r--r--plugins/smartcard/msd-smartcard-manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/smartcard/msd-smartcard-manager.c b/plugins/smartcard/msd-smartcard-manager.c
index 3da59f6..6d1ec4a 100644
--- a/plugins/smartcard/msd-smartcard-manager.c
+++ b/plugins/smartcard/msd-smartcard-manager.c
@@ -291,8 +291,8 @@ msd_smartcard_manager_class_install_signals (MsdSmartcardManagerClass *manager_c
}
static gboolean
-slot_id_equal (CK_SLOT_ID *slot_id_1,
- CK_SLOT_ID *slot_id_2)
+slot_id_equal (const CK_SLOT_ID *slot_id_1,
+ const CK_SLOT_ID *slot_id_2)
{
g_assert (slot_id_1 != NULL);
g_assert (slot_id_2 != NULL);