[vlc-commits] Fix warning if openat() is not supported

Rémi Denis-Courmont git at videolan.org
Fri Mar 16 10:38:18 CET 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Mar 16 11:35:26 2012 +0200| [d3e59dc6d41b02671b1302931002a0192109a765] | committer: Rémi Denis-Courmont

Fix warning if openat() is not supported

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d3e59dc6d41b02671b1302931002a0192109a765
---

 src/posix/filesystem.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/posix/filesystem.c b/src/posix/filesystem.c
index 06b7e14..03fe5d3 100644
--- a/src/posix/filesystem.c
+++ b/src/posix/filesystem.c
@@ -123,6 +123,7 @@ int vlc_openat (int dir, const char *filename, int flags, ...)
 #else
     int fd = -1;
     errno = ENOSYS;
+    (void) mode;
 #endif
 
     LocaleFree (local_name);



More information about the vlc-commits mailing list