coverity/71507: Unchecked return value (CHECKED_RETURN)

Don't check for err->set since object_to_vim always return false when error is set
Merge pull request #1312 from GokuITA/coverity1289

coverity/71507: Unchecked return value (CHECKED_RETURN)