aboutsummaryrefslogtreecommitdiffstats
path: root/bpfix
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 /bpfix
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 'bpfix')
-rw-r--r--bpfix/bpfix/bpfix.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/bpfix/bpfix/bpfix.go b/bpfix/bpfix/bpfix.go
index 056a01b7..24a38c98 100644
--- a/bpfix/bpfix/bpfix.go
+++ b/bpfix/bpfix/bpfix.go
@@ -141,7 +141,6 @@ func (f *Fixer) Fix(config FixRequest) (*parser.File, error) {
i++
if i >= maxNumIterations {
return nil, fmt.Errorf("Applied fixes %d times and yet the tree continued to change. Is there an infinite loop?", i)
- break
}
}
return f.tree, err