# HG changeset patch # User Martin von Zweigbergk # Date 1646427673 28800 # Node ID 4bb04a506af6abf9b3414d52ef817ba87d746060 # Parent 425585f057e0be28fbf764237554f1df3d2cf574 revlog: remove unused `rank` variable from D12209 Differential Revision: https://phab.mercurial-scm.org/D12355 diff -r 425585f057e0 -r 4bb04a506af6 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;