summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKrzysztof Kowalczyk <kkowalczyk@gmail.com>2007-09-24 21:20:12 -0700
committerKrzysztof Kowalczyk <kkowalczyk@gmail.com>2007-09-24 21:20:12 -0700
commitb622b252cba068a15eae77df5deb261dd98affaf (patch)
treeed421a4b767d4bd26198a2f258115ca133f14837 /test
parentbde8c9669ca6b43cb6a664bd14df164a718041ea (diff)
Disable my_error for now - seems to corrupt memory.
Diffstat (limited to 'test')
-rw-r--r--test/perf-test.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/perf-test.cc b/test/perf-test.cc
index fe02a743..1f88a2ff 100644
--- a/test/perf-test.cc
+++ b/test/perf-test.cc
@@ -713,6 +713,7 @@ void OutputDebugString(const char *txt)
#endif
void my_error(int pos, char *msg, va_list args) {
+#if 0
char buf[4096], *p = buf;
// NB: this can be called before the globalParams object is created
@@ -748,6 +749,7 @@ void my_error(int pos, char *msg, va_list args) {
if (gErrFile)
fprintf(gErrFile, "Error: ");
}
+#endif
#if 0
p = buf;
va_start(args, msg);