diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-07-10 21:40:06 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-07-11 00:15:05 +0200 |
commit | ec41ccedb4a3b25781405005dbbda213b2283f04 (patch) | |
tree | 96e702f47621affdff140154240a62c49ba945bb /pyuno | |
parent | dd0e782d1176f6f52d121fdc920f015ea7647d45 (diff) |
Runtime::any2PyObject: warning C4702: unreachable code
Change-Id: I303536b957f902d3bbda9f3a96b507851292523a
Diffstat (limited to 'pyuno')
-rw-r--r-- | pyuno/source/module/pyuno_runtime.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pyuno/source/module/pyuno_runtime.cxx b/pyuno/source/module/pyuno_runtime.cxx index 1b8fe016afb9..f3284c4f9a8d 100644 --- a/pyuno/source/module/pyuno_runtime.cxx +++ b/pyuno/source/module/pyuno_runtime.cxx @@ -590,8 +590,7 @@ PyRef Runtime::any2PyObject (const Any &a ) const } } //We shouldn't be here... - Py_INCREF( Py_None ); - return Py_None; + assert(false); } static Sequence< Type > invokeGetTypes( const Runtime & r , PyObject * o ) |