diff options
| author | João Barbosa <[email protected]> | 2017-09-30 22:43:55 +0100 |
|---|---|---|
| committer | João Barbosa <[email protected]> | 2017-09-30 22:43:55 +0100 |
| commit | 92848e5058c7667c61c358ea2c46f07a6edc468b (patch) | |
| tree | 3b9fc019e227a68b917b5c29a7348a182e01093b /src/sync.cpp | |
| parent | Merge #11318: Put back inadvertently removed copyright notices (diff) | |
| download | discoin-92848e5058c7667c61c358ea2c46f07a6edc468b.tar.xz discoin-92848e5058c7667c61c358ea2c46f07a6edc468b.zip | |
Remove unused fTry from push_lock
Diffstat (limited to 'src/sync.cpp')
| -rw-r--r-- | src/sync.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sync.cpp b/src/sync.cpp index 9c351ea48..87024ccdf 100644 --- a/src/sync.cpp +++ b/src/sync.cpp @@ -98,7 +98,7 @@ static void potential_deadlock_detected(const std::pair<void*, void*>& mismatch, assert(false); } -static void push_lock(void* c, const CLockLocation& locklocation, bool fTry) +static void push_lock(void* c, const CLockLocation& locklocation) { if (lockstack.get() == nullptr) lockstack.reset(new LockStack); @@ -130,7 +130,7 @@ static void pop_lock() void EnterCritical(const char* pszName, const char* pszFile, int nLine, void* cs, bool fTry) { - push_lock(cs, CLockLocation(pszName, pszFile, nLine, fTry), fTry); + push_lock(cs, CLockLocation(pszName, pszFile, nLine, fTry)); } void LeaveCritical() |