Skip to content

Commit

Permalink
remove never visited branch
Browse files Browse the repository at this point in the history
  • Loading branch information
jcjaskula-aws committed Dec 19, 2023
1 parent c21768e commit e536d9f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/braket/pulse/ast/qasm_transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ def visit_Program(self, program: ast.Program) -> ast.Program:
if isinstance(statement, ast.CalibrationStatement):
reordered_cal_block_statements = self.split_input_vars(statement)
new_statement_list.extend(reordered_cal_block_statements)
else:
new_statement_list.append(statement)

program.statements = new_statement_list
return self.generic_visit(program)
Expand Down

0 comments on commit e536d9f

Please sign in to comment.