[solved] Var assigned but never used option lazarus / 9-Editor ---------------------------------------------------------------------- Nicole · 2023-07-15 06:57 There was an option "Var assigned but never used", which underlined me litter from old days in red. Unfortunately I cannot find the option any more. All hints are "checked" already. Has anybody a hint for me? Thanks. ---------------------------------------------------------------------- dseligo · 2023-07-15 09:06 It's a note, not a hint (see attached screenshot). Other things that can hide this hint: - if you put '{%H-}' in front of variable declaration - if you put '{$WARN 5027 off : Local variable "$1" is assigned but never used}' in your source file - check if you filtered this type of messages in Message window: right click in Message window and then Remove Message Type Filter - check if you haven't filtered notes: right click Message window, then 'Filter non urgent messages' and check if dot is below 'Filter notes and below' ---------------------------------------------------------------------- Nicole · 2023-07-15 13:21 thank you! It was unchecked, no idea why. And I will keep your other hints, they are really useful.