summaryrefslogtreecommitdiff
path: root/numpy/core/blasdot
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/blasdot
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/blasdot')
-rw-r--r--numpy/core/blasdot/_dotblas.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/blasdot/_dotblas.c b/numpy/core/blasdot/_dotblas.c
index 46e402323..eae0b8a6c 100644
--- a/numpy/core/blasdot/_dotblas.c
+++ b/numpy/core/blasdot/_dotblas.c
@@ -1071,10 +1071,10 @@ static struct PyMethodDef dotblas_module_methods[] = {
/* Initialization function for the module */
PyMODINIT_FUNC init_dotblas(void) {
int i;
- PyObject *m, *d, *s;
+ PyObject *d, *s;
/* Create the module and add the functions */
- m = Py_InitModule3("_dotblas", dotblas_module_methods, module_doc);
+ Py_InitModule3("_dotblas", dotblas_module_methods, module_doc);
/* Import the array object */
import_array();