From 6a7db0160fc28120f7dfa9cdbe9fac2510fa7348 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Mon, 29 Apr 2024 22:12:46 +0200 Subject: [PATCH] Drop useless self assignment --- src/if_checks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/if_checks.c b/src/if_checks.c index f38c9462..dc897cfe 100644 --- a/src/if_checks.c +++ b/src/if_checks.c @@ -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(