binaryurp/source/bridge.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 777a3f0a157402b249789e19a6fd5750c44ca971 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Sat Dec 8 17:31:59 2018 +0100 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Sat Dec 8 22:02:18 2018 +0100 Use [[maybe_unused]] instead of cast to void Change-Id: I1db02a4eff2d6f16bfb18bda2155d8a26c4a9335 Reviewed-on: https://gerrit.libreoffice.org/64814 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/binaryurp/source/bridge.cxx b/binaryurp/source/bridge.cxx index 04f9ae5df2dc..90877f0754c0 100644 --- a/binaryurp/source/bridge.cxx +++ b/binaryurp/source/bridge.cxx @@ -769,9 +769,8 @@ void Bridge::handleCommitChangeRequest( BinaryAny ret; assert(inArguments.size() == 1); css::uno::Sequence< css::bridge::ProtocolProperty > s; - bool ok = (mapBinaryToCppAny(inArguments[0]) >>= s); + [[maybe_unused]] bool ok = (mapBinaryToCppAny(inArguments[0]) >>= s); assert(ok); - (void) ok; // avoid warnings for (sal_Int32 i = 0; i != s.getLength(); ++i) { if (s[i].Name == "CurrentContext") { bCcMode = true; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits