summaryrefslogtreecommitdiffstats
path: root/lib.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-05-10 06:41:41 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-05-10 06:41:41 -0700
commit92d370b39a0d59c543b8a3251d234df2df584949 (patch)
tree4d62934c2d3e1a5a51f3b6ab4cf899d57865576f /lib.c
parent5283821601b6825fa04995580c463c775b221d79 (diff)
downloadtxr-92d370b39a0d59c543b8a3251d234df2df584949.tar.gz
txr-92d370b39a0d59c543b8a3251d234df2df584949.tar.bz2
txr-92d370b39a0d59c543b8a3251d234df2df584949.zip
lib: remove spurious null statement.
* lib.c (seq_getpos): Remove spurious semicolon which adds an unreachable null statement.
Diffstat (limited to 'lib.c')
-rw-r--r--lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib.c b/lib.c
index a6c0970c..6145c4f3 100644
--- a/lib.c
+++ b/lib.c
@@ -915,7 +915,7 @@ val seq_getpos(val self, seq_iter_t *it)
case SEQ_LISTLIKE:
return it->ui.iter;
case SEQ_VECLIKE:
- return num(it->ui.index);;
+ return num(it->ui.index);
default:
unsup_obj(self, it->inf.obj);
}