remove unreachable code
This commit is contained in:
parent
923efe9eda
commit
7aecfb1540
|
@ -763,7 +763,6 @@ class Environment:
|
|||
target = 'x86' if 'IA-32' in err else 'x86_64'
|
||||
cls = IntelClCCompiler if lang == 'c' else IntelClCPPCompiler
|
||||
return cls(compiler, version, for_machine, is_cross, exe_wrap, target)
|
||||
return cls(ccache + compiler, version, compiler_type, for_machine, is_cross, exe_wrap, full_version=full_version)
|
||||
if 'Microsoft' in out or 'Microsoft' in err:
|
||||
# Latest versions of Visual Studio print version
|
||||
# number to stderr but earlier ones print version
|
||||
|
|
|
@ -413,9 +413,8 @@ def fix_darwin(fname, new_rpath, final_path, install_name_mappings):
|
|||
subprocess.check_call(['install_name_tool', fname] + args,
|
||||
stdout=subprocess.DEVNULL,
|
||||
stderr=subprocess.DEVNULL)
|
||||
except Exception:
|
||||
raise
|
||||
sys.exit(0)
|
||||
except Exception as err:
|
||||
raise SystemExit(err)
|
||||
|
||||
def fix_jar(fname):
|
||||
subprocess.check_call(['jar', 'xfv', fname, 'META-INF/MANIFEST.MF'])
|
||||
|
|
Loading…
Reference in New Issue