Skip to content

Commit e60eb4c

Browse files
Potential fix for code scanning alert no. 5429: Redundant assignment
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent fbabe33 commit e60eb4c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

SU2_PY/SU2/io/tools.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1181,8 +1181,7 @@ def restart2solution(config, state={}):
11811181
# restart = restart.split(".")[0]
11821182
# solution = solution.split(".")[0]
11831183

1184-
restart = restart
1185-
solution = solution
1184+
pass
11861185

11871186
if "RESTART_ASCII" in config.get("OUTPUT_FILES", ["RESTART_BINARY"]):
11881187
restart += ".csv"

0 commit comments

Comments
 (0)