summaryrefslogtreecommitdiffstats
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
commit7c7d410667ffdf01ce9be7b21d4d2af926c44dce (patch)
tree4d62934c2d3e1a5a51f3b6ab4cf899d57865576f
parent6f51f4a4891441f33c158f3854271e3a0f8cd9dd (diff)
downloadtxr-7c7d410667ffdf01ce9be7b21d4d2af926c44dce.tar.gz
txr-7c7d410667ffdf01ce9be7b21d4d2af926c44dce.tar.bz2
txr-7c7d410667ffdf01ce9be7b21d4d2af926c44dce.zip
lib: remove spurious null statement.
* lib.c (seq_getpos): Remove spurious semicolon which adds an unreachable null statement.
-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);
}