diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-09-04 07:27:13 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-09-04 07:27:13 -0700 |
commit | 7c996aaf65a2e77281177bb8132b675e8bba133d (patch) | |
tree | 5e4f3469ec11ddaeb2e9b647558d6aeb5168f5da /lib.c | |
parent | f81e83b591e18fae2efc27252a6e1717b35ecead (diff) | |
download | txr-7c996aaf65a2e77281177bb8132b675e8bba133d.tar.gz txr-7c996aaf65a2e77281177bb8132b675e8bba133d.tar.bz2 txr-7c996aaf65a2e77281177bb8132b675e8bba133d.zip |
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.
Diffstat (limited to 'lib.c')
-rw-r--r-- | lib.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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; } |