kconfig: nconf: remove meaningless wattrset() call from show_menu()
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 12 Apr 2021 01:12:26 +0000 (10:12 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 14 Apr 2021 06:25:43 +0000 (15:25 +0900)
This attribute is not used because it will be overridden some lines
below:

  wattrset(main_window, attr_main_menu_box);

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/nconf.c

index d8a6ab5..5209a18 100644 (file)
@@ -953,7 +953,6 @@ static void show_menu(const char *prompt, const char *instructions,
        current_instructions = instructions;
 
        clear();
-       wattrset(main_window, attr_normal);
        print_in_middle(stdscr, 1, 0, getmaxx(stdscr),
                        menu_backtitle,
                        attr_main_heading);