diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-04-17 11:15:48 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-04-17 11:51:15 +0200 |
commit | 438f5b9f90d1eb5a5cb729a06e75ef4d9a9096f6 (patch) | |
tree | 24d351552145fb26651fc076dee34b8b2d31a633 /extensions/source | |
parent | fbba4781b719bf3ff456ff80f76427afa723da24 (diff) |
-Werror=unused-variable (MinGW, extensions)
Change-Id: I43c2ad4a601ffe20f471d81ed7697b89c496fa6f
Diffstat (limited to 'extensions/source')
-rw-r--r-- | extensions/source/plugin/win/sysplug.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/extensions/source/plugin/win/sysplug.cxx b/extensions/source/plugin/win/sysplug.cxx index 633c5995c899..c8b87479c248 100644 --- a/extensions/source/plugin/win/sysplug.cxx +++ b/extensions/source/plugin/win/sysplug.cxx @@ -90,7 +90,9 @@ PluginComm_Impl::PluginComm_Impl( const OUString& /*rMIME*/, const OUString& rNa _NPPfuncs.version = 0; NPError nErr = (*pEntry)( &_NPPfuncs ); - DBG_ASSERT( nErr == NPERR_NO_ERROR, "### NP_GetEntryPoints() failed!" ); + SAL_WARN_IF( + nErr != NPERR_NO_ERROR, "extensions.plugin", + "NP_GetEntryPoints() failed"); DBG_ASSERT( (_NPPfuncs.version >> 8) >= NP_VERSION_MAJOR, "### version failure!" ); |