diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-07-02 22:31:52 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-02 22:31:52 +0200 |
commit | 207d625a9d0ae61d82ee2a72aeb998aff61bff15 (patch) | |
tree | 773cb72a5e3d2d4324aa7e2e7fe681f9586b3eaf /helpcompiler/source | |
parent | 5c2002d0d2a0dafe4d4315946c76cef6b2adb9a6 (diff) |
loplugin:casttovoid: helpcompiler
Change-Id: Ifd37b99b27d1bf25109c83a054b36c1da3825d84
Diffstat (limited to 'helpcompiler/source')
-rw-r--r-- | helpcompiler/source/HelpLinker.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/helpcompiler/source/HelpLinker.cxx b/helpcompiler/source/HelpLinker.cxx index 1f71635e174e..c2f77ec9374a 100644 --- a/helpcompiler/source/HelpLinker.cxx +++ b/helpcompiler/source/HelpLinker.cxx @@ -861,11 +861,8 @@ void HelpLinker::main( std::vector<std::string> &args, // Variable to set an exception in "C" StructuredXMLErrorFunction static const HelpProcessingException* GpXMLParsingException = nullptr; -extern "C" void StructuredXMLErrorFunction(void *userData, xmlErrorPtr error) +extern "C" void StructuredXMLErrorFunction(SAL_UNUSED_PARAMETER void *, xmlErrorPtr error) { - (void)userData; - (void)error; - std::string aErrorMsg = error->message; std::string aXMLParsingFile; if( error->file != nullptr ) |