aboutsummaryrefslogtreecommitdiffstats
path: root/finder
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2018-07-22 21:18:45 -0700
committerDan Willemsen <dwillemsen@google.com>2018-07-22 21:18:45 -0700
commit59339a29e1e8ec90752f6b9a65deb45ea49f93ce (patch)
tree23053e7f36f9cb7eb9ba9917bb93bbbcf0f2382e /finder
parentee74203bfbc0071a71ee783220cd563d20e961e7 (diff)
downloadbuild_soong-59339a29e1e8ec90752f6b9a65deb45ea49f93ce.tar.gz
build_soong-59339a29e1e8ec90752f6b9a65deb45ea49f93ce.tar.bz2
build_soong-59339a29e1e8ec90752f6b9a65deb45ea49f93ce.zip
Fix `go vet` issues
Test: go vet ./... Change-Id: Ifb936ccc5e2b5a2c3fcbbbcb54f680e2973ea1b3
Diffstat (limited to 'finder')
-rw-r--r--finder/fs/fs.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/finder/fs/fs.go b/finder/fs/fs.go
index 9c138cd1..071f7640 100644
--- a/finder/fs/fs.go
+++ b/finder/fs/fs.go
@@ -243,7 +243,6 @@ func (m *MockFs) followLinks(path string, followLastLink bool, count int) (canon
if parentPath == path {
err = fmt.Errorf("Internal error: %v yields itself as a parent", path)
panic(err.Error())
- return "", fmt.Errorf("Internal error: %v yields itself as a parent", path)
}
parentPath, err = m.followLinks(parentPath, true, count)