errCheck fixes
This commit is contained in:
parent
0272451093
commit
8abac42796
|
@ -74,7 +74,7 @@ func (c *chunkedContentCoder) Reset() {
|
|||
// Close indicates you are done calling Add() this allows
|
||||
// the final chunk to be encoded.
|
||||
func (c *chunkedContentCoder) Close() {
|
||||
c.flushContents()
|
||||
_ = c.flushContents()
|
||||
}
|
||||
|
||||
func (c *chunkedContentCoder) flushContents() error {
|
||||
|
|
|
@ -173,7 +173,7 @@ func (s *Segment) VisitDocumentFieldTerms(localDocNum uint64, fields []string,
|
|||
}
|
||||
}
|
||||
|
||||
dvIter.visitDocValues(localDocNum, visitor)
|
||||
_ = dvIter.visitDocValues(localDocNum, visitor)
|
||||
}
|
||||
}
|
||||
return nil
|
||||
|
|
Loading…
Reference in New Issue