Reporting unused locals when an scope ends