Skip to content

Commit

Permalink
Merge pull request opendnssec#219 from bellgrim/issue218
Browse files Browse the repository at this point in the history
Issue opendnssec#218: Fix build warnings.
  • Loading branch information
bellgrim authored Aug 8, 2016
2 parents 38bda73 + 824716b commit 0380767
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Bugfixes:
Windows build project.
* Issue #207: Fix segmentation faults in loadLibrary function.
(Patch from Jaroslav Imrich)
* Issue #218: Fix build warnings.


SoftHSM 2.1.0 - 2016-03-14
Expand Down
2 changes: 1 addition & 1 deletion src/lib/P11Attributes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ bool P11AttrCheckValue::setDefault()
}

// Update the value if allowed
CK_RV P11AttrCheckValue::updateAttr(Token *token, bool isPrivate, CK_VOID_PTR pValue, CK_ULONG ulValueLen, int op)
CK_RV P11AttrCheckValue::updateAttr(Token *token, bool isPrivate, CK_VOID_PTR pValue, CK_ULONG ulValueLen, int /*op*/)
{
ByteString plaintext((unsigned char*)pValue, ulValueLen);
ByteString value;
Expand Down
1 change: 1 addition & 0 deletions src/lib/SoftHSM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ void SoftHSM::reset()
SoftHSM::SoftHSM()
{
isInitialised = false;
isRemovable = false;
sessionObjectStore = NULL;
objectStore = NULL;
slotManager = NULL;
Expand Down

0 comments on commit 0380767

Please sign in to comment.