summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-14 20:30:31 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-14 20:51:13 +0300
commitb70d1b6d97dcfd78030fb457889e37cb45f6097d (patch)
tree9f86d6389397887003b920f2335d387398bdcfd6 /src/test
parent84499779fcf0c8b5392a88f1c9311775e692ebef (diff)
downloadplus-b70d1b6d97dcfd78030fb457889e37cb45f6097d.tar.gz
plus-b70d1b6d97dcfd78030fb457889e37cb45f6097d.tar.bz2
plus-b70d1b6d97dcfd78030fb457889e37cb45f6097d.tar.xz
plus-b70d1b6d97dcfd78030fb457889e37cb45f6097d.zip
Fix code style.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/testmain.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/testmain.cpp b/src/test/testmain.cpp
index 5e94f09d5..61c08f442 100644
--- a/src/test/testmain.cpp
+++ b/src/test/testmain.cpp
@@ -277,7 +277,7 @@ int TestMain::invokeFastOpenGLRenderTest(std::string test)
#if defined USE_OPENGL
mConfig.setValue("opengl", 1);
mConfig.write();
- int ret = execFileWait(fileName, fileName, "-t", test, 30);
+ const int ret = execFileWait(fileName, fileName, "-t", test, 30);
log->log("%s: %d", test.c_str(), ret);
return ret;
#else
@@ -290,7 +290,7 @@ int TestMain::invokeSafeOpenGLRenderTest(std::string test)
#if defined USE_OPENGL
mConfig.setValue("opengl", 2);
mConfig.write();
- int ret = execFileWait(fileName, fileName, "-t", test, 30);
+ const int ret = execFileWait(fileName, fileName, "-t", test, 30);
log->log("%s: %d", test.c_str(), ret);
return ret;
#else