diff options
Diffstat (limited to 'include/ibm/locks.hpp')
-rw-r--r-- | include/ibm/locks.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ibm/locks.hpp b/include/ibm/locks.hpp index 800ee484e8..fb8b396821 100644 --- a/include/ibm/locks.hpp +++ b/include/ibm/locks.hpp @@ -39,7 +39,7 @@ using ListOfSessionIds = std::vector<std::string>; class Lock { - uint32_t transactionId; + uint32_t transactionId = 0; boost::container::flat_map<uint32_t, LockRequests> lockTable; protected: @@ -429,7 +429,7 @@ inline bool Lock::isValidLockRequest(const LockRequest& refLockRecord) inline Rc Lock::isConflictWithTable(const LockRequests& refLockRequestStructure) { - uint32_t transactionId; + uint32_t transactionId = 0; if (lockTable.empty()) { |