From 6af036a65900426f1eaa9302d5e43b9eb6ab81b0 Mon Sep 17 00:00:00 2001 From: Matt Reiferson Date: Fri, 4 Oct 2013 11:46:57 +1000 Subject: [PATCH] go.tools/vcs: allow compilation with go 1.0 It would be nice to be able to use this package as a dependency (or other go utilities in the ecosystem that depend on this package) in environments which have not (or cannot) for whatever reason upgraded to newer versions of golang. R=golang-dev, adg CC=golang-dev https://golang.org/cl/14283043 --- go/vcs/discovery.go | 1 + 1 file changed, 1 insertion(+) diff --git a/go/vcs/discovery.go b/go/vcs/discovery.go index d5c3fc6b..c9b3caf9 100644 --- a/go/vcs/discovery.go +++ b/go/vcs/discovery.go @@ -59,6 +59,7 @@ func parseMetaGoImports(r io.Reader) (imports []metaImport, err error) { }) } } + return } // attrValue returns the attribute value for the case-insensitive key