Skip to content

Commit

Permalink
Merge pull request #12793 from gliptak/patch-1
Browse files Browse the repository at this point in the history
Correct ineffassign
  • Loading branch information
ptabor authored Mar 23, 2021
2 parents 8469108 + 49d19ef commit 456e129
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion server/mvcc/backend/read_tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ func (baseReadTx *baseReadTx) UnsafeRange(bucketName, key, endKey []byte, limit
}
if !lockHeld {
baseReadTx.txMu.Lock()
lockHeld = true
}
c := bucket.Cursor()
baseReadTx.txMu.Unlock()
Expand Down

0 comments on commit 456e129

Please sign in to comment.