Skip to content

Commit a34095c

Browse files
committed
golangci-lint run
1 parent ff6ba78 commit a34095c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

analyzers/slice_bounds.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@ func runSliceBounds(pass *analysis.Pass) (interface{}, error) {
160160
lenOffset = off
161161
isLenBound = true
162162
bound = upperBounded // Assume i < len... is an upper bound check
163-
err = nil
164163
} else {
165164
continue
166165
}

0 commit comments

Comments
 (0)