History

kconfig: remove a spurious self-assignment

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.

Lukas Bulwahn committed 8 years ago

Commit bc8d2e21 parent 6147b1c1 file · +0 −1Browse files

Showing the changes to scripts (1 of 1 file). Show all

Unified · Split

scripts/kconfig/mconf.c+0−1
@@ -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 ? "-->" : "++>",