Skip to content

Commit

Permalink
fix(table): remove named error from initBiggestAndSmallest() function…
Browse files Browse the repository at this point in the history
… definition
  • Loading branch information
AveralS committed Oct 13, 2023
1 parent 4d25614 commit a63d2bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion table/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,8 @@ func OpenInMemoryTable(data []byte, id uint64, opt *Options) (*Table, error) {
return t, nil
}

func (t *Table) initBiggestAndSmallest() (err error) {
func (t *Table) initBiggestAndSmallest() error {
var err error
// This defer will help gathering debugging info incase initIndex crashes.
defer func() {
if r := recover(); r != nil {
Expand Down

0 comments on commit a63d2bf

Please sign in to comment.