From a574f6c3f0d30b59cd0a0778e4e83e9cb0b4c724 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Fri, 18 Dec 2015 06:43:33 -0800 Subject: Fix useless use of if3. * lisplib.c (lisplib_try_load): if3(a, b, nil) -> if2(a, b). --- lisplib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisplib.c b/lisplib.c index 065436bf..e06b62e6 100644 --- a/lisplib.c +++ b/lisplib.c @@ -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)); } -- cgit v1.2.3