[vlc-commits] commit: Win32: remove dead code ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Wed Nov 3 19:38:14 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Nov  3 20:37:32 2010 +0200| [3a6e65588b443970b647a959d2a2bfad5179408d] | committer: Rémi Denis-Courmont 

Win32: remove dead code

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3a6e65588b443970b647a959d2a2bfad5179408d
---

 src/win32/filesystem.c |   29 -----------------------------
 1 files changed, 0 insertions(+), 29 deletions(-)

diff --git a/src/win32/filesystem.c b/src/win32/filesystem.c
index fde025b..fc51451 100644
--- a/src/win32/filesystem.c
+++ b/src/win32/filesystem.c
@@ -193,35 +193,6 @@ char *vlc_readdir (DIR *dir)
     return FromWide (ent->d_name);
 }
 
-#if 0
-void vlc_rewinddir (DIR *dir)
-{
-    vlc_DIR *p_dir = (DIR *)dir;
-
-    if (p_dir->p_real_dir == NULL)
-        p_dir->i_drives = GetLogicalDrives ();
-    else
-        _wrewinddir (p_dir->p_real_dir);
-}
-#endif
-
-/* FIXME XXX TODO: needs to replace closedir() with this!!! */
-#warning THIS REALLY NEEDS FIXING!!!
-int vlc_wclosedir (DIR *dir)
-{
-    vlc_DIR *p_dir = (vlc_DIR *)dir;
-    int ret;
-
-    if (p_dir->p_real_dir == NULL)
-        ret = 0;
-    else
-        ret = _wclosedir (p_dir->p_real_dir);
-    free (p_dir);
-
-    return ret;
-}
-
-
 int vlc_stat (const char *filename, struct stat *buf)
 {
 #ifdef UNDER_CE



More information about the vlc-commits mailing list