[PATCH] Unused variable s in exceptiontree.cxx

Chris Sherlock (via Code Review) gerrit at gerrit.libreoffice.org
Tue Apr 9 02:38:42 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/3283

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/83/3283/1

Unused variable s in exceptiontree.cxx

Change-Id: Ib825817ea5d77ba2ead421daa0e7f2b708d156a1
---
M codemaker/source/codemaker/exceptiontree.cxx
1 file changed, 0 insertions(+), 2 deletions(-)



diff --git a/codemaker/source/codemaker/exceptiontree.cxx b/codemaker/source/codemaker/exceptiontree.cxx
index f8dd868..e182f14 100644
--- a/codemaker/source/codemaker/exceptiontree.cxx
+++ b/codemaker/source/codemaker/exceptiontree.cxx
@@ -59,8 +59,6 @@
         }
         list.push_back(n);
         rtl::Reference< unoidl::Entity > ent;
-        codemaker::UnoType::Sort s = manager->getSort(b2u(n), &ent);
-        assert(s == codemaker::UnoType::SORT_EXCEPTION_TYPE);
         n = u2b(
             static_cast< unoidl::ExceptionTypeEntity * >(ent.get())->
             getDirectBase());

-- 
To view, visit https://gerrit.libreoffice.org/3283
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib825817ea5d77ba2ead421daa0e7f2b708d156a1
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Chris Sherlock <chris.sherlock79 at gmail.com>



More information about the LibreOffice mailing list