Patchwork D7756: fsmonitor: drop an unused local variable assignment

login
register
mail settings
Submitter phabricator
Date Dec. 30, 2019, 1:32 p.m.
Message ID <06f653d53e99a33f5f4b241982e6e73e@localhost.localdomain>
Download mbox | patch
Permalink /patch/44126/
State Not Applicable
Headers show

Comments

phabricator - Dec. 30, 2019, 1:32 p.m.
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




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

Patch

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