]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc04cfcb2b870cf405e7b332849683f78ac9320d7
tree5c093ab14c4206bdba52dd57455d5f16ff8df60f
parenta41eab66a237bca3d43ca54938076623063b753a
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