[coverity] Fixed Unchecked return value from library