diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-07-21 07:54:25 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-07-21 07:54:25 -0700 |
commit | 3c08aa530dd76642b88a89ae4c2b3c9b9d0d05e5 (patch) | |
tree | f182f4f07e99996a23c333dd9aa20d1d81a2aeab /stdlib/compiler.tl | |
parent | 2c69f1717562d6f18eca3d8a9a2bbcc6356df6b2 (diff) | |
download | txr-3c08aa530dd76642b88a89ae4c2b3c9b9d0d05e5.tar.gz txr-3c08aa530dd76642b88a89ae4c2b3c9b9d0d05e5.tar.bz2 txr-3c08aa530dd76642b88a89ae4c2b3c9b9d0d05e5.zip |
syrooting: remove two useless checks.
* txr.c (sysroot_init): The value of TXR_REL_PATH
already has the exe suffix on it if we are building
for Windows. There is no need to try with EXE_SUFF
tacked on to it. There is also no need to try PROG_NAME
with or without the suffix. EXE_SUFF is the empty
string on non-Windows platforms, so the two lines of
code are equivalent. On Windows, PROG_NAME without
the EXE_SUFF will not match; that maybe_sysroot call
is a waste of CPU cycles.
Diffstat (limited to 'stdlib/compiler.tl')
0 files changed, 0 insertions, 0 deletions