summaryrefslogtreecommitdiff
path: root/numpy/distutils/command/autodist.py
diff options
context:
space:
mode:
authorJulian Taylor <jtaylor.debian@googlemail.com>2015-10-09 21:51:55 +0200
committerJulian Taylor <jtaylor.debian@googlemail.com>2015-10-09 21:54:27 +0200
commitdc17f218c0f3165931d667594662acebb05fefce (patch)
tree8d27dd00fd409ae87b814e544e79213e81b8a783 /numpy/distutils/command/autodist.py
parenta62abc814584047e22a630c92fe355783a5e9fc7 (diff)
downloadnumpy-dc17f218c0f3165931d667594662acebb05fefce.tar.gz
MAINT: remove Wreturn-type warnings from config checks
closes gh-6427
Diffstat (limited to 'numpy/distutils/command/autodist.py')
-rw-r--r--numpy/distutils/command/autodist.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/distutils/command/autodist.py b/numpy/distutils/command/autodist.py
index af53c5104..d5e78963c 100644
--- a/numpy/distutils/command/autodist.py
+++ b/numpy/distutils/command/autodist.py
@@ -55,6 +55,7 @@ main()
#if (! defined __GNUC__) || (__GNUC__ < 4)
#error gcc >= 4 required
#endif
+ return 0;
}
"""
return cmd.try_compile(body, None, None)
@@ -72,6 +73,7 @@ int %s %s(void*);
int
main()
{
+ return 0;
}
""" % (attribute, name)
return cmd.try_compile(body, None, None) != 0