|
Message-Id: <20200325031433.28223-1-masahiroy@kernel.org> Date: Wed, 25 Mar 2020 12:14:31 +0900 From: Masahiro Yamada <masahiroy@...nel.org> To: linux-kbuild@...r.kernel.org Cc: Kees Cook <keescook@...omium.org>, kernel-hardening@...ts.openwall.com, Masahiro Yamada <masahiroy@...nel.org>, linux-kernel@...r.kernel.org Subject: [PATCH 1/2] kconfig: remove unused variable in qconf.cc If this file were compiled with -Wall, the following warning would be reported: scripts/kconfig/qconf.cc:312:6: warning: unused variable āiā [-Wunused-variable] int i; ^ The commit prepares to turn on -Wall for C++ host programs. Signed-off-by: Masahiro Yamada <masahiroy@...nel.org> --- scripts/kconfig/qconf.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index 82773cc35d35..50a5245d87bb 100644 --- a/scripts/kconfig/qconf.cc +++ b/scripts/kconfig/qconf.cc @@ -309,8 +309,6 @@ ConfigList::ConfigList(ConfigView* p, const char *name) showName(false), showRange(false), showData(false), mode(singleMode), optMode(normalOpt), rootEntry(0), headerPopup(0) { - int i; - setObjectName(name); setSortingEnabled(false); setRootIsDecorated(true); -- 2.17.1
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.