kconfig: remove unused variable in qconf.cc
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 25 Mar 2020 03:14:31 +0000 (12:14 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 29 Mar 2020 13:37:53 +0000 (22:37 +0900)
commitdbd35860122b91a34b79162d1d1bed98b15c7e91
tree5c093ab14c4206bdba52dd57455d5f16ff8df60f
parent51e406417950d9a614ddbb1d7769ea210b8717b0
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@kernel.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
scripts/kconfig/qconf.cc