From 0cd9960fd4e26bc621d540d28e33ad673caf090a Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Wed, 27 Jan 2010 23:00:54 +0100 Subject: [PATCH] macosx/framework: No need to create an exception here. --- projects/macosx/framework/Sources/VLCMediaList.m | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/projects/macosx/framework/Sources/VLCMediaList.m b/projects/macosx/framework/Sources/VLCMediaList.m index 21ba1b2ea4..f9ed8f9642 100644 --- a/projects/macosx/framework/Sources/VLCMediaList.m +++ b/projects/macosx/framework/Sources/VLCMediaList.m @@ -211,12 +211,7 @@ static void HandleMediaListItemDeleted( const libvlc_event_t * event, void * use - (BOOL)isReadOnly { - libvlc_exception_t p_e; - libvlc_exception_init( &p_e ); - BOOL isReadOnly = libvlc_media_list_is_readonly( p_mlist ); - catch_exception( &p_e ); - - return isReadOnly; + return libvlc_media_list_is_readonly( p_mlist ); } /* Media list aspect */ -- 2.39.2