summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--codemaker/source/codemaker/exceptiontree.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/codemaker/source/codemaker/exceptiontree.cxx b/codemaker/source/codemaker/exceptiontree.cxx
index f8dd868f9180..a6e154e3073b 100644
--- a/codemaker/source/codemaker/exceptiontree.cxx
+++ b/codemaker/source/codemaker/exceptiontree.cxx
@@ -60,6 +60,7 @@ void ExceptionTree::add(
list.push_back(n);
rtl::Reference< unoidl::Entity > ent;
codemaker::UnoType::Sort s = manager->getSort(b2u(n), &ent);
+ (void) s; // WaE: unused variable
assert(s == codemaker::UnoType::SORT_EXCEPTION_TYPE);
n = u2b(
static_cast< unoidl::ExceptionTypeEntity * >(ent.get())->