[libdvdcss-devel] [Git][videolan/libdvdcss][master] Fix warning when using the Windows _mkdir()

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Wed Aug 6 15:30:08 UTC 2025



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


Commits:
8b3dfeca by Steve Lhomme at 2025-08-06T15:28:10+00:00
Fix warning when using the Windows _mkdir()

- - - - -


1 changed file:

- src/libdvdcss.c


Changes:

=====================================
src/libdvdcss.c
=====================================
@@ -145,6 +145,9 @@
 
 static int exists_or_mkdir( const char *path, int perm )
 {
+#ifdef HAVE_BROKEN_MKDIR
+    (void) perm;
+#endif
     /* mkdir() may return an error if making the directory would fail,
      * even if the directory exists, so use stat() to test for existence
      * before trying to make the directory. */



View it on GitLab: https://code.videolan.org/videolan/libdvdcss/-/commit/8b3dfeca3fc7e542b5ea58ea4811f3dabc4d4d8a

-- 
View it on GitLab: https://code.videolan.org/videolan/libdvdcss/-/commit/8b3dfeca3fc7e542b5ea58ea4811f3dabc4d4d8a
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the libdvdcss-devel mailing list