summaryrefslogtreecommitdiff
path: root/numpy/linalg/lapack_litemodule.c
diff options
context:
space:
mode:
authorJulian Taylor <jtaylor.debian@googlemail.com>2015-06-27 20:03:16 +0200
committerJulian Taylor <jtaylor.debian@googlemail.com>2015-07-03 01:09:55 +0200
commitc15f7747c78e3e8b492ac4b1ef298b51bbae428f (patch)
tree009305d52f924a10362205521117c49cf087ec29 /numpy/linalg/lapack_litemodule.c
parent7a3926c45f99284c83eeefb4e87030139b3d689b (diff)
downloadnumpy-c15f7747c78e3e8b492ac4b1ef298b51bbae428f.tar.gz
MAINT: remove a bunch of compiler warnings
there is a memset warning remaining when built with -flto, though its not clear where exactly it comes from.
Diffstat (limited to 'numpy/linalg/lapack_litemodule.c')
-rw-r--r--numpy/linalg/lapack_litemodule.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/numpy/linalg/lapack_litemodule.c b/numpy/linalg/lapack_litemodule.c
index 32290123b..ebffdcc24 100644
--- a/numpy/linalg/lapack_litemodule.c
+++ b/numpy/linalg/lapack_litemodule.c
@@ -314,8 +314,6 @@ static struct PyMethodDef lapack_lite_module_methods[] = {
{ NULL,NULL,0, NULL}
};
-static char lapack_lite_module_documentation[] = "";
-
#if PY_MAJOR_VERSION >= 3
static struct PyModuleDef moduledef = {
@@ -346,8 +344,7 @@ initlapack_lite(void)
m = PyModule_Create(&moduledef);
#else
m = Py_InitModule4("lapack_lite", lapack_lite_module_methods,
- lapack_lite_module_documentation,
- (PyObject*)NULL,PYTHON_API_VERSION);
+ "", (PyObject*)NULL,PYTHON_API_VERSION);
#endif
if (m == NULL) {
return RETVAL;