Skip to content

Commit 09cdc04

Browse files
committed
Fix cppcheck complaint
1 parent 4f00942 commit 09cdc04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libwolfboot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1766,7 +1766,7 @@ int pkcs11_crypto_init(void)
17661766
{ CKA_ID, NULL, 0 },
17671767
};
17681768
CK_ULONG search_attr_count = sizeof(search_attr) / sizeof(*search_attr);
1769-
CK_ULONG obj_count;
1769+
CK_ULONG obj_count = 0;
17701770
int session_opened = 0, logged_in = 0;
17711771

17721772
if (encrypt_initialized)

0 commit comments

Comments
 (0)