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

Quick Fix

There’s no quick fix yet—it’ll be added as soon as possible.

© 2020–2021 Joachim Ansorg
Privacy Policy