[vlc-devel] commit: Fix compilation warning on Win CE. ( Rémi Duraffort )
git version control
git at videolan.org
Mon Dec 15 21:06:49 CET 2008
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Mon Dec 15 20:45:12 2008 +0100| [4a5be6fd955f2c2408dff71f536aec2a76c06f01] | committer: Rémi Duraffort
Fix compilation warning on Win CE.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4a5be6fd955f2c2408dff71f536aec2a76c06f01
---
src/extras/libc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/extras/libc.c b/src/extras/libc.c
index df6e37f..eca162a 100644
--- a/src/extras/libc.c
+++ b/src/extras/libc.c
@@ -286,7 +286,6 @@ void *vlc_wopendir( const wchar_t *wpath )
struct _wdirent *vlc_wreaddir( void *_p_dir )
{
vlc_DIR *p_dir = (vlc_DIR *)_p_dir;
- unsigned int i;
DWORD i_drives;
if ( p_dir->p_real_dir != NULL )
@@ -311,6 +310,7 @@ struct _wdirent *vlc_wreaddir( void *_p_dir )
swprintf( p_dir->dd_dir.d_name, L"\\");
p_dir->dd_dir.d_namlen = wcslen(p_dir->dd_dir.d_name);
#else
+ unsigned int i;
if ( !i_drives )
return NULL; /* end */
More information about the vlc-devel
mailing list