summaryrefslogtreecommitdiff
path: root/pyuno
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-02-16 17:06:41 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-02-16 17:07:07 +0100
commitd90fd406fd8b9a0e03a5284673304008166a8b7e (patch)
treea9b18a0eeff88f274faa41a8a3dc2c1a5c522572 /pyuno
parent3f6473f1302d2067e6d7925c17bfed284031d164 (diff)
Missing return
Diffstat (limited to 'pyuno')
-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