diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-07-20 10:32:47 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-09-20 09:42:54 +0200 |
commit | ed39debbc379628ce74b096f7b7b179ab826551b (patch) | |
tree | 9b646e5110fe479ba665924ebc8074a64a151701 /pyuno | |
parent | 973574cbd4d9ec39efff3961b8121e27890a56da (diff) |
warning C4702: unreachable code
(cherry picked from commit 618376bcb55906913bc76365d7db9b71eb422daa)
Conflicts:
pyuno/source/module/pyuno_runtime.cxx
Change-Id: Ie2cc83dde7e0522e0bf669a1dd3d7a8ca680f7e2
Diffstat (limited to 'pyuno')
-rw-r--r-- | pyuno/source/module/pyuno_runtime.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/pyuno/source/module/pyuno_runtime.cxx b/pyuno/source/module/pyuno_runtime.cxx index 56ee7fa5e427..0cf2998d4b82 100644 --- a/pyuno/source/module/pyuno_runtime.cxx +++ b/pyuno/source/module/pyuno_runtime.cxx @@ -598,9 +598,6 @@ PyRef Runtime::any2PyObject (const Any &a ) const throw RuntimeException(buf.makeStringAndClear( ), Reference< XInterface > () ); } } - //We shouldn't be here... - Py_INCREF( Py_None ); - return Py_None; } static Sequence< Type > invokeGetTypes( const Runtime & r , PyObject * o ) |