summaryrefslogtreecommitdiff
path: root/numpy/distutils/command/autodist.py
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2014-07-07 23:17:11 +0900
committerDavid Cournapeau <cournape@gmail.com>2014-07-07 23:17:11 +0900
commitd0689a3243b77b8b65e9c49eb8376a9dd190b698 (patch)
treedbd9faf8e6c127b728cfa7f4958a1eb8fe09740b /numpy/distutils/command/autodist.py
parent8a1496df7ad58936a8f9ff929ff629f3d38f51d8 (diff)
downloadnumpy-d0689a3243b77b8b65e9c49eb8376a9dd190b698.tar.gz
REF: remove obsolete code.
Diffstat (limited to 'numpy/distutils/command/autodist.py')
-rw-r--r--numpy/distutils/command/autodist.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/numpy/distutils/command/autodist.py b/numpy/distutils/command/autodist.py
index 8598b33e6..5a9470b9b 100644
--- a/numpy/distutils/command/autodist.py
+++ b/numpy/distutils/command/autodist.py
@@ -75,10 +75,3 @@ main()
}
""" % (attribute, )
return cmd.try_compile(body, None, None) != 0
-
-def check_compile_without_warning(cmd, body):
- cmd._check_compiler()
- ret, output = cmd.try_output_compile(body, None, None)
- if not ret or len(output) > 0:
- return False
- return True