Skip to content

Commit

Permalink
Merge pull request #241 from adream307/master
Browse files Browse the repository at this point in the history
remove unreachable code
  • Loading branch information
ptabor authored Dec 21, 2022
2 parents a3749e4 + ea42d39 commit 1231aef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db.go
Original file line number Diff line number Diff line change
Expand Up @@ -1187,7 +1187,7 @@ func (m *meta) validate() error {
return ErrInvalid
} else if m.version != version {
return ErrVersionMismatch
} else if m.checksum != 0 && m.checksum != m.sum64() {
} else if m.checksum != m.sum64() {
return ErrChecksum
}
return nil
Expand Down

0 comments on commit 1231aef

Please sign in to comment.