diff options
author | David Cournapeau <cournape@gmail.com> | 2008-09-01 13:07:30 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2008-09-01 13:07:30 +0000 |
commit | 2312fcb6cdf6eea3c94b6354555bacecb6d413c3 (patch) | |
tree | 7e11c512ae8d577d2f86921030091bb839cfd82a /numpy/core | |
parent | 8864e082c10858f535710aa0f08b1887c0fa3c46 (diff) | |
download | numpy-2312fcb6cdf6eea3c94b6354555bacecb6d413c3.tar.gz |
Fix unused variable warning in object_arrtype_new.
Diffstat (limited to 'numpy/core')
-rw-r--r-- | numpy/core/src/scalartypes.inc.src | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/core/src/scalartypes.inc.src b/numpy/core/src/scalartypes.inc.src index 3855a6eb3..381da0ac1 100644 --- a/numpy/core/src/scalartypes.inc.src +++ b/numpy/core/src/scalartypes.inc.src @@ -1899,8 +1899,10 @@ static PyObject * PyObject *robj; PyObject *arr; PyArray_Descr *typecode = NULL; +#if !(@default@ == 2) int itemsize; void *dest, *src; +#endif /* allow base-class (if any) to do conversion */ /* If successful, this will jump to finish: */ |