diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-15 16:12:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-15 16:22:14 +0300 |
commit | dfb43b30af56e9d7b00115e8a2a2f21a4f308227 (patch) | |
tree | 849fdb47aecbaa0c71a02c0a0f2cfab6ff9aa157 /src/test | |
parent | ead11026d5df982b0a77f6e2e45326a23deccbad (diff) | |
download | plus-dfb43b30af56e9d7b00115e8a2a2f21a4f308227.tar.gz plus-dfb43b30af56e9d7b00115e8a2a2f21a4f308227.tar.bz2 plus-dfb43b30af56e9d7b00115e8a2a2f21a4f308227.tar.xz plus-dfb43b30af56e9d7b00115e8a2a2f21a4f308227.zip |
Fix compilation warning.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/testlauncher.cpp | 5 |
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; } |