Skip to content

Commit

Permalink
Fix unused variable warning in object_arrtype_new.
Browse files Browse the repository at this point in the history
  • Loading branch information
cournape committed Sep 1, 2008
1 parent 8864e08 commit 2312fcb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions numpy/core/src/scalartypes.inc.src
Expand Up @@ -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: */
Expand Down

0 comments on commit 2312fcb

Please sign in to comment.