summaryrefslogtreecommitdiff
path: root/src/test/testlauncher.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-15 16:12:29 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-15 16:22:14 +0300
commitdfb43b30af56e9d7b00115e8a2a2f21a4f308227 (patch)
tree849fdb47aecbaa0c71a02c0a0f2cfab6ff9aa157 /src/test/testlauncher.cpp
parentead11026d5df982b0a77f6e2e45326a23deccbad (diff)
downloadplus-dfb43b30af56e9d7b00115e8a2a2f21a4f308227.tar.gz
plus-dfb43b30af56e9d7b00115e8a2a2f21a4f308227.tar.bz2
plus-dfb43b30af56e9d7b00115e8a2a2f21a4f308227.tar.xz
plus-dfb43b30af56e9d7b00115e8a2a2f21a4f308227.zip
Fix compilation warning.
Diffstat (limited to 'src/test/testlauncher.cpp')
-rw-r--r--src/test/testlauncher.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/test/testlauncher.cpp b/src/test/testlauncher.cpp
index 4f844a7cc..f8f9be812 100644
--- a/src/test/testlauncher.cpp
+++ b/src/test/testlauncher.cpp
@@ -493,6 +493,7 @@ int TestLauncher::testDyeSpeed()
int TestLauncher::testStackSpeed()
{
+/*
const int sz = 100000;
const int k = 100;
const int sz2 = sz * k;
@@ -503,8 +504,6 @@ int TestLauncher::testStackSpeed()
timespec time2;
#if defined __linux__ || defined __linux
-
-/*
for (int d = 0; d < 100; d ++)
{
for (int f = 0; f < sz; f ++)
@@ -572,8 +571,8 @@ int TestLauncher::testStackSpeed()
printf("debug: %d\n", stack2.top().xOffset);
printf("my time: %ld\n", diff);
-*/
#endif
+*/
return 0;
}