Submitter | phabricator |
---|---|
Date | March 4, 2022, 9:02 p.m. |
Message ID | <differential-rev-PHID-DREV-viqmcgqzmgok3goespke-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/50696/ |
State | New |
Headers | show |
Comments
Patch
diff --git a/mercurial/cext/revlog.c b/mercurial/cext/revlog.c --- a/mercurial/cext/revlog.c +++ b/mercurial/cext/revlog.c @@ -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;