diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-27 14:41:46 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-31 05:32:03 +0000 |
commit | 2670ca3fc597decae78499d1397539668eb84e5e (patch) | |
tree | 0ebb92fa0e1e92cf4891042046cd8fb83423c01f /cppuhelper | |
parent | 267d6e19e393f9352ee743d213e8d82f74141877 (diff) |
a whole bunch of SAL_WARN_UNUSED
Change-Id: Iea28debc7d3abc58cca21bd3856cb65b321dc1e6
Reviewed-on: https://gerrit.libreoffice.org/33693
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cppuhelper')
-rw-r--r-- | cppuhelper/qa/unourl/cppu_unourl.cxx | 2 | ||||
-rw-r--r-- | cppuhelper/source/defaultbootstrap.cxx | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/cppuhelper/qa/unourl/cppu_unourl.cxx b/cppuhelper/qa/unourl/cppu_unourl.cxx index de229cc91ea1..c9883993f37a 100644 --- a/cppuhelper/qa/unourl/cppu_unourl.cxx +++ b/cppuhelper/qa/unourl/cppu_unourl.cxx @@ -77,6 +77,7 @@ namespace cppu_unourl { cppu::UnoUrlDescriptor aDescriptor(rtl::OUString::createFromAscii( aTests[i].pInput)); + (void)aDescriptor; bValid = true; } catch (rtl::MalformedUriException &) @@ -331,6 +332,7 @@ namespace cppu_unourl try { cppu::UnoUrl aUrl(rtl::OUString::createFromAscii(aTests[i].pInput)); + (void)aUrl; bValid = true; } catch (rtl::MalformedUriException &) diff --git a/cppuhelper/source/defaultbootstrap.cxx b/cppuhelper/source/defaultbootstrap.cxx index 037a5897f10d..f7c909f939c3 100644 --- a/cppuhelper/source/defaultbootstrap.cxx +++ b/cppuhelper/source/defaultbootstrap.cxx @@ -58,7 +58,6 @@ cppu::defaultBootstrap_InitialComponentContext(rtl::OUString const & iniUri) smgr->init(getBootstrapVariable(bs, "UNO_SERVICES")); rtl::Reference< cppuhelper::TypeManager > tmgr(new cppuhelper::TypeManager); tmgr->init(getBootstrapVariable(bs, "UNO_TYPES")); - cppu::ContextEntry_Init entry; std::vector< cppu::ContextEntry_Init > context_values; context_values.push_back( cppu::ContextEntry_Init( |