fsmonitor: drop an unused local variable assignment
authorMatt Harbison <matt_harbison@yahoo.com>
Fri, 27 Dec 2019 18:34:12 -0500
changeset 43988 c8a51a90929b
parent 43987 ce37b35d4843
child 43989 de358da72eb1
fsmonitor: drop an unused local variable assignment Flagged by PyCharm. Differential Revision: https://phab.mercurial-scm.org/D7756
hgext/fsmonitor/pywatchman/pybser.py
--- 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