Commit dbd35860 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

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: default avatarMasahiro Yamada <masahiroy@kernel.org>
Reviewed-by: default avatarKees Cook <keescook@chromium.org>
parent 51e40641
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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);