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

"Jean-Baptiste Kempf (@jbk)" <[email protected]> Wed, 06 Aug 2025 17:30:08 +0200
Newsgroups gmane.comp.video.videolan.libdvdcss.devel
Message-ID <[email protected]>
--===============5101511286119914222==
Content-Type: multipart/alternative;
 boundary="--==_mimepart_6893750072e49_80cd118ed00184750f6";
 charset=UTF-8
Content-Transfer-Encoding: 7bit


----==_mimepart_6893750072e49_80cd118ed00184750f6
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit



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
----==_mimepart_6893750072e49_80cd118ed00184750f6--

--===============5101511286119914222==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
libdvdcss-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/libdvdcss-devel

--===============5101511286119914222==--