From: Lukas Bulwahn Date: Thu, 30 Aug 2018 09:18:42 +0000 (+0200) Subject: kconfig: remove a spurious self-assignment X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=bc8d2e20a3eb2f8d268ad7bbca878cf3acdcf389;p=openwrt%2Fstaging%2Fblogic.git 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. Fixes: 694c49a7c01c ("kconfig: drop localization support") Signed-off-by: Lukas Bulwahn Signed-off-by: Masahiro Yamada --- diff --git a/scripts/kconfig/mconf.c b/scripts/kconfig/mconf.c index 83b5836615fb..143c05fec161 100644 --- a/scripts/kconfig/mconf.c +++ b/scripts/kconfig/mconf.c @@ -490,7 +490,6 @@ static void build_conf(struct menu *menu) switch (prop->type) { case P_MENU: child_count++; - prompt = prompt; if (single_menu_mode) { item_make("%s%*c%s", menu->data ? "-->" : "++>",