summaryrefslogtreecommitdiff
path: root/numpy/core/src/scalarmathmodule.c.src
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-12-02 05:07:35 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-12-02 05:07:35 +0000
commit3a93adce6609cd3499d85c5f2b9dc38d3d1255c7 (patch)
treec965535dae00b60b48306a6d69b8ab9becac113d /numpy/core/src/scalarmathmodule.c.src
parent921fa088183b86dbaeb35a9c9af17980e7708a54 (diff)
downloadnumpy-3a93adce6609cd3499d85c5f2b9dc38d3d1255c7.tar.gz
Fix warnings found by Intel compiler due to unused variables that were set. Make ones work for compound types.
Diffstat (limited to 'numpy/core/src/scalarmathmodule.c.src')
-rw-r--r--numpy/core/src/scalarmathmodule.c.src3
1 files changed, 1 insertions, 2 deletions
diff --git a/numpy/core/src/scalarmathmodule.c.src b/numpy/core/src/scalarmathmodule.c.src
index b574d2c4a..2caf9f6c0 100644
--- a/numpy/core/src/scalarmathmodule.c.src
+++ b/numpy/core/src/scalarmathmodule.c.src
@@ -1192,9 +1192,8 @@ static struct PyMethodDef methods[] = {
};
PyMODINIT_FUNC initscalarmath(void) {
- PyObject *m;
- m = Py_InitModule("scalarmath", methods);
+ Py_InitModule("scalarmath", methods);
import_array();
import_umath();