[vlc-devel] commit: Revert "Win32: fix src/ compilation" ( Rémi Denis-Courmont )
git version control
git at videolan.org
Fri Aug 21 07:58:03 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Aug 21 08:57:47 2009 +0300| [eb90bf8ab44edd122dbdfad47cf67601b433d324] | committer: Rémi Denis-Courmont
Revert "Win32: fix src/ compilation"
This reverts commit 908d0b9375dae740d9c703c0acb8bf93b7d1231a.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=eb90bf8ab44edd122dbdfad47cf67601b433d324
---
src/extras/getopt.c | 2 --
src/misc/w32thread.c | 2 --
src/misc/win32_specific.c | 1 -
3 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/src/extras/getopt.c b/src/extras/getopt.c
index fe301f4..1dbcc89 100644
--- a/src/extras/getopt.c
+++ b/src/extras/getopt.c
@@ -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. */
diff --git a/src/misc/w32thread.c b/src/misc/w32thread.c
index 3669a94..0edba5e 100644
--- a/src/misc/w32thread.c
+++ b/src/misc/w32thread.c
@@ -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;
}
diff --git a/src/misc/win32_specific.c b/src/misc/win32_specific.c
index ea294ed..a596502 100644
--- a/src/misc/win32_specific.c
+++ b/src/misc/win32_specific.c
@@ -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 */
More information about the vlc-devel
mailing list