changeset 43988:c8a51a90929b

fsmonitor: drop an unused local variable assignment Flagged by PyCharm. Differential Revision: https://phab.mercurial-scm.org/D7756
author Matt Harbison <matt_harbison@yahoo.com>
date Fri, 27 Dec 2019 18:34:12 -0500
parents ce37b35d4843
children de358da72eb1
files hgext/fsmonitor/pywatchman/pybser.py
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/fsmonitor/pywatchman/pybser.py	Fri Dec 27 18:26:51 2019 -0500
+++ b/hgext/fsmonitor/pywatchman/pybser.py	Fri Dec 27 18:34:12 2019 -0500
@@ -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