Skip to content

Commit

Permalink
Nit: remove unused variable
Browse files Browse the repository at this point in the history
Unsure what the intention of this variable was, but doesn't do
anything now.

Signed-off-by: Eric Brown <[email protected]>
  • Loading branch information
ericwb committed Jun 27, 2024
1 parent a670e03 commit 19dacfb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions bandit/core/node_visitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ def __init__(
):
self.debug = debug
self.nosec_lines = nosec_lines
self.seen = 0
self.scores = {
"SEVERITY": [0] * len(constants.RANKING),
"CONFIDENCE": [0] * len(constants.RANKING),
Expand Down Expand Up @@ -209,7 +208,6 @@ def pre_visit(self, node):
self.context["filename"] = self.fname
self.context["file_data"] = self.fdata

self.seen += 1
LOG.debug(
"entering: %s %s [%s]", hex(id(node)), type(node), self.depth
)
Expand Down

0 comments on commit 19dacfb

Please sign in to comment.