summaryrefslogtreecommitdiffstats
path: root/tests/libsample/injectcode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libsample/injectcode.cpp')
-rw-r--r--tests/libsample/injectcode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libsample/injectcode.cpp b/tests/libsample/injectcode.cpp
index 05c4a143..6e19de75 100644
--- a/tests/libsample/injectcode.cpp
+++ b/tests/libsample/injectcode.cpp
@@ -54,7 +54,7 @@ const char* InjectCode::simpleMethod2()
const char* InjectCode::simpleMethod3(int argc, char** argv)
{
- for (int i = 0; i < argc; ++i)
+ for (int i = 1; i < argc; ++i)
m_valueHolder += argv[i];
return m_valueHolder.c_str();
}