summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pyuno/source/module/pyuno_dlopenwrapper.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyuno/source/module/pyuno_dlopenwrapper.c b/pyuno/source/module/pyuno_dlopenwrapper.c
index 487665b75700..01386e6ead4d 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