[Libreoffice-commits] .: pyuno/source

Stephan Bergmann sbergmann at kemper.freedesktop.org
Thu Feb 16 08:12:56 PST 2012


 pyuno/source/module/pyuno_dlopenwrapper.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit d90fd406fd8b9a0e03a5284673304008166a8b7e
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Feb 16 17:06:41 2012 +0100

    Missing return

diff --git a/pyuno/source/module/pyuno_dlopenwrapper.c b/pyuno/source/module/pyuno_dlopenwrapper.c
index 487665b..01386e6 100644
--- a/pyuno/source/module/pyuno_dlopenwrapper.c
+++ b/pyuno/source/module/pyuno_dlopenwrapper.c
@@ -83,7 +83,8 @@ static void * load(void * address, char const * symbol) {
 #if PY_MAJOR_VERSION >= 3
 
 PyObject * PyInit_pyuno(void) {
-    ((PyObject * (*)(void)) load((void *) &PyInit_pyuno, "PyInit_pyuno"))();
+    return
+        ((PyObject * (*)(void)) load((void *) &PyInit_pyuno, "PyInit_pyuno"))();
 }
 
 #else


More information about the Libreoffice-commits mailing list