Fix no-unused-vars to report correct line numbers (Fixes #239)

Fixes #239