mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 09:05:55 +00:00
Remove unnecessary nil check
This commit is contained in:
parent
0437f5d28a
commit
113bec2474
1 changed files with 2 additions and 6 deletions
|
|
@ -3408,15 +3408,11 @@ func (it *timeRowIterator) Next() (r *Row, rowID uint64, _ *int64, wrapped bool,
|
|||
if err != nil {
|
||||
return row, rowID, nil, wrapped, err
|
||||
}
|
||||
if row != nil {
|
||||
rows = append(rows, row)
|
||||
}
|
||||
rows = append(rows, row)
|
||||
}
|
||||
|
||||
// union rows
|
||||
if len(rows) > 0 {
|
||||
r = rows[0].Union(rows[1:]...)
|
||||
}
|
||||
r = rows[0].Union(rows[1:]...)
|
||||
|
||||
it.cur++
|
||||
return r, rowID, nil, wrapped, nil
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue