Fix CoverityID 13713: Unchecked return
Fix CoverityID 13697: Unchecked return, hasFolding