[libdvdnav-devel] [Git][videolan/libdvdread][master] dvd_reader: fix unused variable warning

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Tue Aug 4 10:17:10 UTC 2026



Jean-Baptiste Kempf pushed to branch master at VideoLAN / libdvdread


Commits:
cf82b973 by Steve Lhomme at 2026-08-04T06:54:13+02:00
dvd_reader: fix unused variable warning

SYS_BSD is defined for macOS, but we're not using fe in that case.

- - - - -


1 changed file:

- src/dvd_reader.c


Changes:

=====================================
src/dvd_reader.c
=====================================
@@ -545,7 +545,7 @@ static dvd_reader_t *DVDOpenCommon( void *priv,
     cpxm_init_condition( ctx, type, have_css );
     return ctx;
   } else if ((fileinfo.st_mode & DVD_S_IFMT) == DVD_S_IFDIR ) {
-#if defined(SYS_BSD)
+#if defined(SYS_BSD) && !defined(__APPLE__)
     struct fstab* fe;
 #elif defined(__sun) || defined(__linux__)
     FILE *mntfile;



View it on GitLab: https://code.videolan.org/videolan/libdvdread/-/commit/cf82b9739ced24bb15648e788f9d3425eb4110ba

-- 
View it on GitLab: https://code.videolan.org/videolan/libdvdread/-/commit/cf82b9739ced24bb15648e788f9d3425eb4110ba
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 libdvdnav-devel mailing list