diff --git a/modules/gui/macosx/playlist/VLCPlaylistMenuController.m b/modules/gui/macosx/playlist/VLCPlaylistMenuController.m index 5b4852c34d6138514494a1be811a534795cc455d..c5c887d00ee817b813c2ff0e4d514759dd36aa6c 100644 --- a/modules/gui/macosx/playlist/VLCPlaylistMenuController.m +++ b/modules/gui/macosx/playlist/VLCPlaylistMenuController.m @@ -86,9 +86,8 @@ return; VLCPlaylistItem *item = [_playlistController.playlistModel playlistItemAtIndex:selectedRow]; - if (item == nil) { + if (item == nil) return; - } NSString *path = item.path; [[NSWorkspace sharedWorkspace] selectFile:path inFileViewerRootedAtPath:path];