]> git.sesse.net Git - vlc/commitdiff
Revert "Win32: fix src/ compilation"
authorRémi Denis-Courmont <remi@remlab.net>
Fri, 21 Aug 2009 05:57:47 +0000 (08:57 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Fri, 21 Aug 2009 05:57:47 +0000 (08:57 +0300)
This reverts commit 908d0b9375dae740d9c703c0acb8bf93b7d1231a.

src/extras/getopt.c
src/misc/w32thread.c
src/misc/win32_specific.c

index fe301f4f8ac8d4c1689926e1549d9bf37665d70b..1dbcc89954036aeaa95a00a7a76908ac575e2c28 100644 (file)
@@ -359,8 +359,6 @@ 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 3669a945c9c86ee640e02153e90f0384b29eb003..0edba5ecfe3a8fb67a23cb8326d9db0037aa5c27 100644 (file)
@@ -373,8 +373,6 @@ 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 ea294eda89771442fd201e6269a17e56c24f5473..a596502a0a5fb3f7c328fc645e74aee592718c65 100644 (file)
@@ -47,7 +47,6 @@
  *****************************************************************************/
 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 */