Fix no-unused-vars to report correct line numbers