From f0aecebe20f3347ddc56828d4280b875682cad34 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 9 Apr 2013 12:37:02 +0300 Subject: [PATCH] WaE: unused variable Change-Id: I64ac7b45722e4147091068e71e9ceedea3d73010 --- codemaker/source/codemaker/exceptiontree.cxx | 1 + 1 file changed, 1 insertion(+) 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())->