The self assignment was probably introduced by an automated code refactoring in commit 694c49a7c01c ("kconfig: drop localization support"). The issue was identified by a self-assign warning when running make menuconfig with clang.
Showing the changes to scripts (1 of 1 file). Show all
Unified · Split
| @@ -490,7 +490,6 @@ static void build_conf(struct menu *menu) · 489 unmodified lines | |||
| 490 | switch (prop->type) { | 490 | switch (prop->type) { |
| 491 | case P_MENU: | 491 | case P_MENU: |
| 492 | child_count++; | 492 | child_count++; |
| 493 | prompt = prompt; | ||
| 494 | if (single_menu_mode) { | 493 | if (single_menu_mode) { |
| 495 | item_make("%s%*c%s", | 494 | item_make("%s%*c%s", |
| 496 | menu->data ? "-->" : "++>", | 495 | menu->data ? "-->" : "++>", |