From 7c996aaf65a2e77281177bb8132b675e8bba133d Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Wed, 4 Sep 2019 07:27:13 -0700 Subject: seq_info: remove redundant car slot lookup. * lib.c (seq_info): Due to a copy-paste error maybe_slot is being accidentally called here twice for the same slot. Removing. --- lib.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib.c b/lib.c index 08e1d5ea..743e6ff2 100644 --- a/lib.c +++ b/lib.c @@ -294,8 +294,6 @@ seq_info_t seq_info(val obj) ret.kind = SEQ_VECLIKE; if (maybe_slot(obj, car_s)) ret.kind = SEQ_LISTLIKE; - if (maybe_slot(obj, car_s)) - ret.kind = SEQ_LISTLIKE; else ret.kind = SEQ_NOTSEQ; } -- cgit v1.2.3