aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2014-12-22 21:35:52 -0500
committerMatt Corallo <git@bluematt.me>2015-04-24 02:28:47 -0700
commit1ec900a29e115503ca3a70eba28f2de33ca06228 (patch)
treec9afc60d6f629efcb7a43c2bfb6ac590c839c4bd
parent352ed22c2c34b36824fe84d87969be9de797458c (diff)
Remove broken+useless lock/unlock log prints
-rw-r--r--src/sync.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/sync.cpp b/src/sync.cpp
index e28caee8e7..a422939964 100644
--- a/src/sync.cpp
+++ b/src/sync.cpp
@@ -86,7 +86,6 @@ static void push_lock(void* c, const CLockLocation& locklocation, bool fTry)
if (lockstack.get() == NULL)
lockstack.reset(new LockStack);
- LogPrint("lock", "Locking: %s\n", locklocation.ToString());
dd_mutex.lock();
(*lockstack).push_back(std::make_pair(c, locklocation));
@@ -113,10 +112,6 @@ static void push_lock(void* c, const CLockLocation& locklocation, bool fTry)
static void pop_lock()
{
- if (fDebug) {
- const CLockLocation& locklocation = (*lockstack).rbegin()->second;
- LogPrint("lock", "Unlocked: %s\n", locklocation.ToString());
- }
dd_mutex.lock();
(*lockstack).pop_back();
dd_mutex.unlock();