Fix cppcheck complaint

pull/658/head
Mattia Moffa 2025-12-24 15:35:30 +01:00 committed by Daniele Lacamera
parent f12d2f06b4
commit 7800c364e9
1 changed files with 1 additions and 1 deletions

View File

@ -1766,7 +1766,7 @@ int pkcs11_crypto_init(void)
{ CKA_ID, NULL, 0 },
};
CK_ULONG search_attr_count = sizeof(search_attr) / sizeof(*search_attr);
CK_ULONG obj_count;
CK_ULONG obj_count = 0;
int session_opened = 0, logged_in = 0;
if (encrypt_initialized)