summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-04-05 11:52:21 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-04-05 11:52:21 +0200
commit316d06f96a4ede4fa1865144af0bfe0abcedb76a (patch)
tree4a4025c9a2f74e1cc57ea84083ecabb3eec99de1 /vcl
parentee0e19296b959b4545b094f49a8b0c0b546399d7 (diff)
-Werror=unused-variable
Change-Id: I098bbf78cb4b9a7e24b8767f70c35ef67d2d5c6c
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/builder.cxx1
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));