aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2007-12-11 13:14:14 +0000
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2007-12-11 13:14:14 +0000
commit936b0de9cc1164c369d4b601e92d4737d8defabe (patch)
tree0736e3cc0209508d9efa0962b90502d822d618f2 /test
parent8117c9aa83c67c38257a17dd8bcbb59c699bbcdd (diff)
play with inlining to get better performance when the compiler is not asked to optimize
Diffstat (limited to 'test')
-rw-r--r--test/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/main.cpp b/test/main.cpp
index 91f83e396..7573cd68c 100644
--- a/test/main.cpp
+++ b/test/main.cpp
@@ -32,8 +32,8 @@ int main(int argc, char *argv[])
bool has_set_repeat = false;
bool has_set_seed = false;
bool need_help = false;
- unsigned int seed;
- int repeat;
+ unsigned int seed = 0;
+ int repeat = 0;
QStringList args = QCoreApplication::instance()->arguments();
args.takeFirst(); // throw away the first argument (path to executable)