aboutsummaryrefslogtreecommitdiff
path: root/src/unittest/test_threading.cpp
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2016-10-05 22:17:22 +0200
committerNer'zhul <nerzhul@users.noreply.github.com>2016-10-06 00:28:24 +0200
commit61d1751dfff71d8fd433c6c84bd39db1672a3ee6 (patch)
treeead3afdfcc79b05f2cd18b16782fa8e68a8a8d81 /src/unittest/test_threading.cpp
parent7fab86a49dd569f24804eb7396843e61095e3854 (diff)
downloadminetest-61d1751dfff71d8fd433c6c84bd39db1672a3ee6.tar.gz
minetest-61d1751dfff71d8fd433c6c84bd39db1672a3ee6.tar.bz2
minetest-61d1751dfff71d8fd433c6c84bd39db1672a3ee6.zip
Travis: build matrix improvements + CPP11 build
Diffstat (limited to 'src/unittest/test_threading.cpp')
-rw-r--r--src/unittest/test_threading.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unittest/test_threading.cpp b/src/unittest/test_threading.cpp
index 224e123df..cdbf9674e 100644
--- a/src/unittest/test_threading.cpp
+++ b/src/unittest/test_threading.cpp
@@ -163,6 +163,7 @@ private:
void TestThreading::testAtomicSemaphoreThread()
{
Atomic<u32> val;
+ val = 0;
Semaphore trigger;
static const u8 num_threads = 4;