diff options
author | Adam Reichold <adam.reichold@t-online.de> | 2020-01-03 22:12:20 +0100 |
---|---|---|
committer | Albert Astals Cid <tsdgeos@yahoo.es> | 2020-01-04 22:13:25 +0000 |
commit | 5c7ec727e059738828ae61bafb5fe5f8b482b267 (patch) | |
tree | f4bf3c40e031283a9c17b13eae41e14e0b139f12 /test/perf-test.cc | |
parent | 6de0bba0b7d064195b27619667dbbcb7cd810647 (diff) |
Remove the error callback data pointer as none of the frontends make use of it.
Diffstat (limited to 'test/perf-test.cc')
-rw-r--r-- | test/perf-test.cc | 4 |
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); |