0
0
Fork 0

errCheck fixes

This commit is contained in:
Sreekanth Sivasankaran 2017-12-28 13:23:57 +05:30
parent 0272451093
commit 8abac42796
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -173,7 +173,7 @@ func (s *Segment) VisitDocumentFieldTerms(localDocNum uint64, fields []string,
}
}
dvIter.visitDocValues(localDocNum, visitor)
_ = dvIter.visitDocValues(localDocNum, visitor)
}
}
return nil