Skip to content
  • Marvin Scholz's avatar
    macosx: VLCPlaylistDataSource: fix error handling · 0cd7e54f
    Marvin Scholz authored and David's avatar David committed
    The previous check if data is nil is useless here, as
    unarchiveObjectWithData can not modify data, and there is
    already a check above this code that ensures data is not nil.
    But unarchiveObjectWithData could fail if it can not decode the
    archive, raising an NSInvalidArgumentException, so handle that
    properly.
    0cd7e54f