diff options
author | rbuj <[email protected]> | 2021-10-20 09:28:10 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2022-03-10 23:19:54 +0100 |
commit | 4158bfe57dc7dfe224541ffd12095ba15dbdedcf (patch) | |
tree | 4b01b03374f05000c8fbcb5482fc57f0b7f55791 /plugins/smartcard | |
parent | b84d06bf1fe99874cdc6c18f2ae4f19acc158ca1 (diff) | |
download | mate-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.c | 4 |
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); |