diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-04-05 11:52:21 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-04-05 11:52:21 +0200 |
commit | 316d06f96a4ede4fa1865144af0bfe0abcedb76a (patch) | |
tree | 4a4025c9a2f74e1cc57ea84083ecabb3eec99de1 /vcl | |
parent | ee0e19296b959b4545b094f49a8b0c0b546399d7 (diff) |
-Werror=unused-variable
Change-Id: I098bbf78cb4b9a7e24b8767f70c35ef67d2d5c6c
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/builder.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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)); |