Skip to content

Commit

Permalink
Remove unsued variables
Browse files Browse the repository at this point in the history
ObjectTests.cpp:79:16: error: unused variable 'CKA_MODIFIABLE_DEFAULT' [-Werror,-Wunused-const-variable]
  • Loading branch information
bjosv committed Dec 5, 2024
1 parent 9fd34b5 commit 84c9756
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/lib/test/ObjectTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,19 +73,6 @@
#include <string.h>
#include "ObjectTests.h"

// Common object attributes
const CK_BBOOL CKA_TOKEN_DEFAULT = CK_FALSE;
//const CK_BBOOL CKA_PRIVATE_DEFAULT = <token/object attribute dependent>
const CK_BBOOL CKA_MODIFIABLE_DEFAULT = CK_TRUE;
const CK_UTF8CHAR_PTR CKA_LABEL_DEFAULT = NULL;
const CK_BBOOL CKA_COPYABLE_DEFAULT = CK_TRUE;
const CK_BBOOL CKA_DESTROYABLE_DEFAULT = CK_TRUE;

// Data Object Attributes
const CK_UTF8CHAR_PTR CKA_APPLICATION_DEFAULT = NULL;
const CK_BYTE_PTR CKA_OBJECT_ID_DEFAULT = NULL;
const CK_BYTE_PTR CKA_VALUE_DEFAULT = NULL;

// CKA_TOKEN
const CK_BBOOL ON_TOKEN = CK_TRUE;
const CK_BBOOL IN_SESSION = CK_FALSE;
Expand Down

0 comments on commit 84c9756

Please sign in to comment.