changeset 48948:4bb04a506af6

revlog: remove unused `rank` variable from D12209 Differential Revision: https://phab.mercurial-scm.org/D12355
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 04 Mar 2022 13:01:13 -0800
parents 425585f057e0
children 469b9ee336a6
files mercurial/cext/revlog.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;