summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/testparse.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testparse.cpp b/tests/testparse.cpp
index 7195af75a..ec47d3d27 100644
--- a/tests/testparse.cpp
+++ b/tests/testparse.cpp
@@ -60,7 +60,7 @@ int TestParse::parseCSV(int units, std::string file)
char *params[55];
int pnr = 0;
- params[pnr++] = strdup(strdup("numberField"));
+ params[pnr++] = strdup("numberField");
params[pnr++] = intdup(0);
params[pnr++] = strdup("dateField");
params[pnr++] = intdup(1);
@@ -411,7 +411,7 @@ int TestParse::parseCSVmanual(int units, std::string file)
char *params[55];
int pnr = 0;
- params[pnr++] = strdup(strdup("numberField"));
+ params[pnr++] = strdup("numberField");
params[pnr++] = intdup(0);
params[pnr++] = strdup("dateField");
params[pnr++] = intdup(1);