diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-12-18 06:43:33 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-12-18 06:43:33 -0800 |
commit | a574f6c3f0d30b59cd0a0778e4e83e9cb0b4c724 (patch) | |
tree | bde9dd375b1b6cd4f54eea5847908ffa2448ea25 | |
parent | a3dc4fed39bd1ad6e961f5f767d7fbc18ecdd477 (diff) | |
download | txr-a574f6c3f0d30b59cd0a0778e4e83e9cb0b4c724.tar.gz txr-a574f6c3f0d30b59cd0a0778e4e83e9cb0b4c724.tar.bz2 txr-a574f6c3f0d30b59cd0a0778e4e83e9cb0b4c724.zip |
Fix useless use of if3.
* lisplib.c (lisplib_try_load): if3(a, b, nil) -> if2(a, b).
-rw-r--r-- | lisplib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -304,8 +304,8 @@ val lisplib_try_load(val sym) { val fun = gethash(dl_table, sym); debug_state_t ds; - return if3(fun, (ds = debug_set_state(opt_dbg_autoload ? 0 : -1, + return if2(fun, (ds = debug_set_state(opt_dbg_autoload ? 0 : -1, opt_dbg_autoload), funcall(fun), - debug_restore_state(ds), t), nil); + debug_restore_state(ds), t)); } |