# HG changeset patch # User Matt Harbison # Date 2022-10-19 15:24:20 # Node ID 8d6c8a9a91f84414d354b4d167d084cfe9a547e9 # Parent 250d9c8aaf108b2bd37688d2285be3c5a60d2923 revlog: drop an unused variable assignment It's assigned again 2 lines later. diff --git a/mercurial/revlog.py b/mercurial/revlog.py --- a/mercurial/revlog.py +++ b/mercurial/revlog.py @@ -505,7 +505,6 @@ class revlog: self._docket = docket self._docket_file = entry_point else: - entry_data = b'' self._initempty = True entry_data = self._get_data(entry_point, mmapindexthreshold) if len(entry_data) > 0: