From c00900e723fb83a7d7252735b37956013e41a9c1 Mon Sep 17 00:00:00 2001 From: Thomas Fussell Date: Thu, 13 Jul 2017 17:51:34 -0700 Subject: [PATCH] void can't return... --- xlntpyarrow/xlntpyarrow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xlntpyarrow/xlntpyarrow.cpp b/xlntpyarrow/xlntpyarrow.cpp index 64269f5f..50d1b937 100644 --- a/xlntpyarrow/xlntpyarrow.cpp +++ b/xlntpyarrow/xlntpyarrow.cpp @@ -122,11 +122,11 @@ initmyextension(void) #if PY_MAJOR_VERSION >= 3 module = PyModule_Create(&xlntpyarrow_def); + return module; #else module = Py_InitModule("xlntpyarrow", xlntpyarrow_methods); + return; #endif - - return module; } } // extern "C"