]> git.sesse.net Git - vlc/commitdiff
Win32: fix src/ compilation
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 20 Aug 2009 21:00:56 +0000 (23:00 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 20 Aug 2009 21:00:56 +0000 (23:00 +0200)
src/extras/getopt.c
src/misc/w32thread.c
src/misc/win32_specific.c

index 1dbcc89954036aeaa95a00a7a76908ac575e2c28..fe301f4f8ac8d4c1689926e1549d9bf37665d70b 100644 (file)
@@ -359,6 +359,8 @@ static const char *
      char *const *argv;
      const char *optstring;
 {
+    (void)argc;
+    (void)argv;
     /* Start processing options with ARGV-element 1 (since ARGV-element 0
        is the program name); the sequence of previously skipped
        non-option ARGV-elements is empty.  */
index 0edba5ecfe3a8fb67a23cb8326d9db0037aa5c27..3669a945c9c86ee640e02153e90f0384b29eb003 100644 (file)
@@ -373,6 +373,8 @@ void vlc_rwlock_unlock (vlc_rwlock_t *lock)
 int vlc_threadvar_create (vlc_threadvar_t *p_tls, void (*destr) (void *))
 {
 #warning FIXME: use destr() callback and stop leaking!
+    VLC_UNUSED( destr );
+
     *p_tls = TlsAlloc();
     return (*p_tls == TLS_OUT_OF_INDEXES) ? EAGAIN : 0;
 }
index a596502a0a5fb3f7c328fc645e74aee592718c65..ea294eda89771442fd201e6269a17e56c24f5473 100644 (file)
@@ -47,6 +47,7 @@
  *****************************************************************************/
 void system_Init( libvlc_int_t *p_this, int *pi_argc, const char *ppsz_argv[] )
 {
+    VLC_UNUSED( p_this ); VLC_UNUSED( pi_argc ); VLC_UNUSED( ppsz_argv );
     WSADATA Data;
 
     /* Get our full path */