Skip to content

Commit

Permalink
Drop useless self assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
cgzones committed Apr 29, 2024
1 parent c4de7e6 commit 6a7db01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/if_checks.c
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ struct check_result *check_name_required_but_not_used_in_if(const struct
return NULL;
}

struct name_list *names_to_check = names_to_check = get_names_in_node(node);
struct name_list *names_to_check = get_names_in_node(node);
if (!names_to_check) {
// This should never happen
return alloc_internal_error(
Expand Down

0 comments on commit 6a7db01

Please sign in to comment.