[Git][NTPsec/ntpsec][master] LGTM error: The value assigned to local variable 'curidx' is never used.

Eric S. Raymond gitlab at mg.gitlab.com
Wed Sep 2 18:20:16 UTC 2020



Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
519a77c6 by Sanjeev Gupta at 2020-09-02T17:04:10+00:00
LGTM error: The value assigned to local variable 'curidx' is never used.

- - - - -


1 changed file:

- pylib/packet.py


Changes:

=====================================
pylib/packet.py
=====================================
@@ -1328,7 +1328,6 @@ This combats source address spoofing
 
     def __mru_analyze(self, variables, span, direct):
         """Extracts data from the key/value list into a more useful form"""
-        curidx = -1
         mru = None
         nonce = None
         items = list(variables.items())



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/519a77c6f0de8f974bf177cbc8da29c2386ad2e4

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/519a77c6f0de8f974bf177cbc8da29c2386ad2e4
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20200902/49e79996/attachment.htm>


More information about the vc mailing list