summaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
authorStefan Radomski <github@mintwerk.de>2017-04-13 10:32:35 (GMT)
committerStefan Radomski <github@mintwerk.de>2017-04-13 10:32:35 (GMT)
commit199d27c0f613e54369865ad73ffcb523ee8930fd (patch)
tree8d97068bcfa87c6b3223d53312941bf707e8cfef /test/src
parentcb7851856cb0bb2f90ed6e1b9cd85fcf9cf3315f (diff)
downloaduscxml-199d27c0f613e54369865ad73ffcb523ee8930fd.zip
uscxml-199d27c0f613e54369865ad73ffcb523ee8930fd.tar.gz
uscxml-199d27c0f613e54369865ad73ffcb523ee8930fd.tar.bz2
Fixed build errors on Windows and Debian
Diffstat (limited to 'test/src')
-rw-r--r--test/src/test-gen-c.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/test-gen-c.cpp b/test/src/test-gen-c.cpp
index fa80fd5..e184c10 100644
--- a/test/src/test-gen-c.cpp
+++ b/test/src/test-gen-c.cpp
@@ -9,7 +9,7 @@
#include <iostream>
#define USCXML_VERBOSE
-#define WITH_DM_ECMA_JSC
+//#define WITH_DM_ECMA_JSC
#include "uscxml/config.h"
@@ -1017,7 +1017,7 @@ protected:
int main(int argc, char** argv) {
- int err;
+ int err = 0;
size_t benchmarkRuns = 1;
const char* envBenchmarkRuns = getenv("USCXML_BENCHMARK_ITERATIONS");
if (envBenchmarkRuns != NULL) {