]> git.sesse.net Git - vlc/commitdiff
win32: Flag some unused arg warnings.
authorPierre d'Herbemont <pdherbemont@free.fr>
Fri, 21 Aug 2009 14:32:43 +0000 (16:32 +0200)
committerPierre d'Herbemont <pdherbemont@free.fr>
Fri, 21 Aug 2009 14:32:43 +0000 (16:32 +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..44b3ad2f76e4ff2083965df2f6da6c55fd0995f1 100644 (file)
@@ -373,6 +373,7 @@ 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!
+
     *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 */