Skip to content

Commit a5b2a3f

Browse files
committed
rm nil check in since it uses a map
1 parent 327b11d commit a5b2a3f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

sql/rowexec/agg.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,9 +236,7 @@ func (i *groupByGroupingIter) Dispose() {
236236
bs, _ := i.get(k)
237237
if bs != nil {
238238
for _, b := range bs {
239-
if b != nil {
240-
b.Dispose()
241-
}
239+
b.Dispose()
242240
}
243241
}
244242
}

0 commit comments

Comments
 (0)