Skip to content

Commit ec2033b

Browse files
Potential fix for pull request finding 'Unreachable code'
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
1 parent 99a6e5f commit ec2033b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

graphgen/engine.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,6 @@ def _filter_kwargs(
119119
for k, v in func_params.items():
120120
if k in valid_keys or has_var_keywords:
121121
final_kwargs[k] = v
122-
elif has_var_keywords:
123-
final_kwargs[k] = v
124122
return final_kwargs
125123

126124
if node.op_name not in self.functions:

0 commit comments

Comments
 (0)