summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2010-09-11 15:56:32 +0000
committerPauli Virtanen <pav@iki.fi>2010-09-11 15:56:32 +0000
commitb4629cce24744c9c9a85912e4cfaf78a46455c12 (patch)
treee4e7dbfe6c305e794f212d762bd10a0a27693b9a /numpy
parentb45222e6f8eea0eaaf7c773f1370f2ebc7765a2f (diff)
downloadnumpy-b4629cce24744c9c9a85912e4cfaf78a46455c12.tar.gz
BUG: core: fix a missing return branch in npy_3kcompat.h
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/include/numpy/npy_3kcompat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/core/include/numpy/npy_3kcompat.h b/numpy/core/include/numpy/npy_3kcompat.h
index a0a1e0445..185ae678f 100644
--- a/numpy/core/include/numpy/npy_3kcompat.h
+++ b/numpy/core/include/numpy/npy_3kcompat.h
@@ -232,6 +232,7 @@ npy_PyFile_Check(PyObject *file)
if (fileio != NULL) {
return PyObject_TypeCheck(file, fileio);
}
+ return 0;
}
#else