aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests/main.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-02-22 19:34:09 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-02-22 19:34:09 +0000
commit5e3557d2c30f9f1a206d93441897793a993f3618 (patch)
treebf91ab81d379f9b4d6d8ad7db7feaa17fc63faf4 /tests/unit_tests/main.cpp
parentMerge pull request #681 (diff)
downloadmonero-5e3557d2c30f9f1a206d93441897793a993f3618.tar.xz
move g_test_dbg_lock_sleep from a global to a function level static
This avoids the need to define that variable in every program which uses epee.
Diffstat (limited to 'tests/unit_tests/main.cpp')
-rw-r--r--tests/unit_tests/main.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/unit_tests/main.cpp b/tests/unit_tests/main.cpp
index b96129a3a..faaf9475a 100644
--- a/tests/unit_tests/main.cpp
+++ b/tests/unit_tests/main.cpp
@@ -32,8 +32,6 @@
#include "include_base_utils.h"
-unsigned int epee::g_test_dbg_lock_sleep = 0;
-
int main(int argc, char** argv)
{
epee::debug::get_set_enable_assert(true, false);