summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2021-09-24 11:04:07 -0600
committerGitHub <noreply@github.com>2021-09-24 11:04:07 -0600
commita856eb539fc265e0971c89099b303ca77f75c006 (patch)
tree148c58820b2816ff5a2284284ea76bdf8d0cbecf
parent5030da8543e725efb1ccc4b433f1cb0391bad464 (diff)
parenta95fc4a27b638b1d4ab32d6dd9907b46805051bb (diff)
downloadnumpy-a856eb539fc265e0971c89099b303ca77f75c006.tar.gz
Merge pull request #19942 from DimitriPapadopoulos/lgtm_warning_unreachable_return
MAINT: Fix LGTM.com warning: Unreachable code
-rw-r--r--numpy/distutils/fcompiler/gnu.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/numpy/distutils/fcompiler/gnu.py b/numpy/distutils/fcompiler/gnu.py
index f9891e93b..39178071d 100644
--- a/numpy/distutils/fcompiler/gnu.py
+++ b/numpy/distutils/fcompiler/gnu.py
@@ -535,7 +535,6 @@ def _can_target(cmd, arch):
os.remove(output)
finally:
os.remove(filename)
- return False
if __name__ == '__main__':