[vlc-commits] [Git][videolan/vlc][master] macosx: Remove unnecessary/unused recent media copy in library callback

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Sun Jun 7 14:21:26 UTC 2026



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
ffd6425f by Claudio Cambra at 2026-06-07T16:08:56+02:00
macosx: Remove unnecessary/unused recent media copy in library callback

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -


1 changed file:

- modules/gui/macosx/library/VLCLibraryModel.m


Changes:

=====================================
modules/gui/macosx/library/VLCLibraryModel.m
=====================================
@@ -1093,7 +1093,6 @@ static void libraryCallback(void *p_data, const vlc_ml_event_t *p_event)
 
         if (audioIndex != NSNotFound) {
             // Found in audio cache - create mutable copies for modification
-            NSMutableArray * const recentsMutable = self.cachedRecentMedia.mutableCopy;
             NSMutableArray * const recentAudiosMutable = self.cachedRecentAudioMedia.mutableCopy;
             NSMutableArray * const audioMutable = self.cachedAudioMedia.mutableCopy;
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/ffd6425fac158ef1adb5bf16a823ff11bae1d28d

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/ffd6425fac158ef1adb5bf16a823ff11bae1d28d
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list