danmar/cppcheck — comment on commit f7cbc90c847e691738a767585597d1e25d57d810
File: lib/tokenize.cpp line 1541
By danmar:

interesting observation.

If I understand you correctly.. we should be able to detect such code and write a 'variable is assigned a value that is never used' message.