Skip to content

Commit

Permalink
Add comment to variable check
Browse files Browse the repository at this point in the history
Signed-off-by: romanodanilo <[email protected]>
  • Loading branch information
romanodanilo committed Jul 9, 2024
1 parent 6552321 commit 6c7d5ee
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def check_rule(checker_data: models.CheckerData) -> None:
parameter_declaration_nodes = root.find("ParameterDeclarations")
variable_declaration_nodes = root.find("VariableDeclarations")

# Get parameters and variables declarations
defined_param_variables = set()
if parameter_declaration_nodes is not None:
for declaration_node in list(parameter_declaration_nodes):
Expand Down

0 comments on commit 6c7d5ee

Please sign in to comment.