From 4158bfe57dc7dfe224541ffd12095ba15dbdedcf Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 20 Oct 2021 09:28:10 +0200 Subject: Cppcheck: function parameter can be declared with const --- plugins/smartcard/msd-smartcard-manager.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/smartcard') 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); -- cgit v1.2.1