D7756: fsmonitor: drop an unused local variable assignment

mharbison72 (Matt Harbison) phabricator at mercurial-scm.org
Mon Dec 30 08:32:25 EST 2019


Closed by commit rHGc8a51a90929b: fsmonitor: drop an unused local variable assignment (authored by mharbison72).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7756?vs=18987&id=19016

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7756/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7756

AFFECTED FILES
  hgext/fsmonitor/pywatchman/pybser.py

CHANGE DETAILS

diff --git a/hgext/fsmonitor/pywatchman/pybser.py b/hgext/fsmonitor/pywatchman/pybser.py
--- a/hgext/fsmonitor/pywatchman/pybser.py
+++ b/hgext/fsmonitor/pywatchman/pybser.py
@@ -506,7 +506,6 @@
 
 
 def _pdu_info_helper(buf):
-    bser_version = -1
     if buf[0:2] == EMPTY_HEADER[0:2]:
         bser_version = 1
         bser_capabilities = 0



To: mharbison72, #hg-reviewers, pulkit
Cc: mercurial-devel


More information about the Mercurial-devel mailing list