compiler: Report unused variables initialized to function literals.
authorIan Lance Taylor <ian@gcc.gnu.org>
Thu, 27 Aug 2015 23:09:37 +0000 (23:09 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Thu, 27 Aug 2015 23:09:37 +0000 (23:09 +0000)
commitb281000393220c7ce754f42c8d73b4ea9efe5657
treeff8e1e8088a82aa764a04cc7c779b01cff468d9d
parent26343eaf9d25412f6deba7eae9117fc5e9bc02cc
compiler: Report unused variables initialized to function literals.

    Fixes golang/go#12317.

    Reviewed-on: https://go-review.googlesource.com/13908

From-SVN: r227285
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/gogo.cc