Skip to content

Commit

Permalink
[Core][TReentrantRWLock] Declare undefined variable
Browse files Browse the repository at this point in the history
  • Loading branch information
stwunsch committed Sep 18, 2020
1 parent 7612ef8 commit d516212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/thread/src/TReentrantRWLock.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ TReentrantRWLock<MutexT, RecurseCountsT>::Rewind(const State &earlierState) {
if (pStateDelta->fDeltaWriteRecurse != 0) {
R__MAYBE_ASSERT_WITH_LOCAL_LOCK("TReentrantRWLock::Rewind",
"Lock rewinded from a thread that does not own the Write lock",
fWriter && fRecurseCounts.IsNotCurrentWriter(local));
fWriter && fRecurseCounts.IsNotCurrentWriter(fRecurseCounts.GetLocal()));

// Claim a recurse-state +1 to be able to call Unlock() below.
fRecurseCounts.fWriteRecurse = typedState.fWriteRecurse + 1;
Expand Down

0 comments on commit d516212

Please sign in to comment.