[Libreoffice-commits] core.git: vcl/source

Stephan Bergmann sbergman at redhat.com
Thu Apr 5 09:52:53 UTC 2018


 vcl/source/window/builder.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 316d06f96a4ede4fa1865144af0bfe0abcedb76a
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Apr 5 11:52:21 2018 +0200

    -Werror=unused-variable
    
    Change-Id: I098bbf78cb4b9a7e24b8767f70c35ef67d2d5c6c

diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index 926549db5302..926a69b47231 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -1797,6 +1797,7 @@ VclPtr<vcl::Window> VclBuilder::makeObject(vcl::Window *pParent, const OString &
                     pModule.reset(new osl::Module);
                     bool ok = pModule->loadRelative(&thisModule, sModule);
                     assert(ok && "bad module name in .ui");
+                    (void) ok;
                     pFunction = reinterpret_cast<customMakeWidget>(pModule->getFunctionSymbol(sFunction));
                 }
                 g_aModuleMap.insert(std::make_pair(sModule, pModule));


More information about the Libreoffice-commits mailing list