D12355: revlog: remove unused `rank` variable from D12209
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Fri Mar 4 21:02:39 UTC 2022
martinvonz created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12355
AFFECTED FILES
mercurial/cext/revlog.c
CHANGE DETAILS
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;
To: martinvonz, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
More information about the Mercurial-devel
mailing list