Unused Local Variable

This inspection highlights local variables, which are not referenced. It’s highlighted as an unused symbol, to let you quickly see that it’s not used.

The message is displayed under these conditions:

  1. The variable is declared as local in a function
  2. It’s the first declaration of that variable in that function
  3. It’s not exported and there are no references to that variable in the function
Detection of an unused local variable definition
Detection of an unused local variable definition
© 2020–2022 Joachim Ansorg
Правовая информация
Политика конфиденциальности
Юридическая информация