summaryrefslogtreecommitdiff
path: root/test/perf-test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/perf-test.cc')
-rw-r--r--test/perf-test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/perf-test.cc b/test/perf-test.cc
index 70220cd3..03f78788 100644
--- a/test/perf-test.cc
+++ b/test/perf-test.cc
@@ -739,7 +739,7 @@ static void StrList_Destroy(StrList **root)
*root = nullptr;
}
-static void my_error(void *, ErrorCategory, Goffset pos, const char *msg) {
+static void my_error(ErrorCategory, Goffset pos, const char *msg) {
#if 0
char buf[4096], *p = buf;
@@ -1230,7 +1230,7 @@ static void RenderCmdLineArg(char *cmdLineArg)
int main(int argc, char **argv)
{
- setErrorCallback(my_error, nullptr);
+ setErrorCallback(my_error);
ParseCommandLine(argc, argv);
if (0 == StrList_Len(&gArgsListRoot))
PrintUsageAndExit(argc, argv);