diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2021-06-25 10:44:48 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2021-06-25 14:27:08 +0200 |
commit | 8d588425ea03cfdc93ba0028377354b23060b47f (patch) | |
tree | 5e3ff799ab48a12d32ef942f5ac0afb2ecd4853e /extensions | |
parent | 4350aafa465a0a2b1da1d8e070be8781aa4b79f4 (diff) |
-Werror,-Wunused-but-set-variable (clang-cl 13 trunk)
...ever since 95117e7fefa9ae82431dcdffd1e58495730f6f54 "initial import"
Change-Id: Id1590c855a604862796549376f2c3f6d76d3cb2e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117847
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/ole/unoconversionutilities.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions/source/ole/unoconversionutilities.hxx b/extensions/source/ole/unoconversionutilities.hxx index 57ded2ce696c..338d85b622da 100644 --- a/extensions/source/ole/unoconversionutilities.hxx +++ b/extensions/source/ole/unoconversionutilities.hxx @@ -2108,7 +2108,6 @@ template<class T> Sequence<Any> UnoConversionUtilities<T>::createOleArrayWrapperOfDim(SAFEARRAY* pArray, unsigned int dimCount, unsigned int actDim, LONG* index, VARTYPE type, const Type& unotype) { - HRESULT hr= S_OK; LONG lBound; LONG uBound; LONG nCountElements; @@ -2158,7 +2157,7 @@ Sequence<Any> UnoConversionUtilities<T>::createOleArrayWrapperOfDim(SAFEARRAY* p SafeArrayGetElement(pArray, index, &V_DATE(&variant)); break; case VT_BSTR: - hr= SafeArrayGetElement(pArray, index, &V_BSTR(&variant)); + SafeArrayGetElement(pArray, index, &V_BSTR(&variant)); break; case VT_DISPATCH: SafeArrayGetElement(pArray, index, &V_DISPATCH(&variant)); |