Commit bc8d2e20 authored by Lukas Bulwahn's avatar Lukas Bulwahn Committed by Masahiro Yamada

kconfig: remove a spurious self-assignment

The self assignment was probably introduced by an automated code
refactoring in
commit 694c49a7 ("kconfig: drop localization support").

The issue was identified by a self-assign warning when running
make menuconfig with clang.

Fixes: 694c49a7 ("kconfig: drop localization support")
Signed-off-by: default avatarLukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 6147b1cf
...@@ -490,7 +490,6 @@ static void build_conf(struct menu *menu) ...@@ -490,7 +490,6 @@ static void build_conf(struct menu *menu)
switch (prop->type) { switch (prop->type) {
case P_MENU: case P_MENU:
child_count++; child_count++;
prompt = prompt;
if (single_menu_mode) { if (single_menu_mode) {
item_make("%s%*c%s", item_make("%s%*c%s",
menu->data ? "-->" : "++>", menu->data ? "-->" : "++>",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment