[Libreoffice-commits] .: pyuno/source

Stephan Bergmann sbergmann at kemper.freedesktop.org
Fri Jul 20 01:32:57 PDT 2012


 pyuno/source/module/pyuno_runtime.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 618376bcb55906913bc76365d7db9b71eb422daa
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Jul 20 10:32:47 2012 +0200

    warning C4702: unreachable code
    
    Change-Id: Ie2cc83dde7e0522e0bf669a1dd3d7a8ca680f7e2

diff --git a/pyuno/source/module/pyuno_runtime.cxx b/pyuno/source/module/pyuno_runtime.cxx
index f3284c4..b021fdd 100644
--- a/pyuno/source/module/pyuno_runtime.cxx
+++ b/pyuno/source/module/pyuno_runtime.cxx
@@ -589,8 +589,6 @@ PyRef Runtime::any2PyObject (const Any &a ) const
         throw RuntimeException(buf.makeStringAndClear( ), Reference< XInterface > () );
     }
     }
-    //We shouldn't be here...
-    assert(false);
 }
 
 static Sequence< Type > invokeGetTypes( const Runtime & r , PyObject * o )


More information about the Libreoffice-commits mailing list