Reported by go vet.
Change-Id: I6a6a636c79923fafd8c649c583383cdf455c6ce2
Reviewed-on: https://go-review.googlesource.com/c/go/+/678317
Reviewed-by: Robert Findley <rfindley@google.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
// This code path isn't currently needed
// because FileSet never updates an existing entry.
// Remove this assertion if things change.
- panic("unreachable according to current FileSet requirements")
+ if true {
+ panic("unreachable according to current FileSet requirements")
+ }
x.file = file
return
}
// This code path isn't currently needed because FileSet
// only calls delete after a positive locate.
// Remove this assertion if things change.
- panic("unreachable according to current FileSet requirements")
+ if true {
+ panic("unreachable according to current FileSet requirements")
+ }
return
case x.left == nil: