revlog: remove unused `rank` variable from D12209
authorMartin von Zweigbergk <martinvonz@google.com>
Fri, 04 Mar 2022 13:01:13 -0800
changeset 48948 4bb04a506af6
parent 48947 425585f057e0
child 48949 469b9ee336a6
revlog: remove unused `rank` variable from D12209 Differential Revision: https://phab.mercurial-scm.org/D12355
mercurial/cext/revlog.c
--- a/mercurial/cext/revlog.c	Mon Feb 21 13:10:22 2022 -0700
+++ b/mercurial/cext/revlog.c	Fri Mar 04 13:01:13 2022 -0800
@@ -579,7 +579,6 @@
 static int index_fast_rank(indexObject *self, Py_ssize_t pos)
 {
 	Py_ssize_t length = index_length(self);
-	int rank;
 
 	if (self->format_version != format_cl2 || pos >= length) {
 		return rank_unknown;