[vlc-devel] commit: Untested windows compile fix. (Antoine	Cellerier )
    git version control 
    git at videolan.org
       
    Thu Feb 11 12:47:37 CET 2010
    
    
  
vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Thu Feb 11 12:47:28 2010 +0100| [d9a487c27ac4f2f931e7076f9003e8eef2582778] | committer: Antoine Cellerier 
Untested windows compile fix.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d9a487c27ac4f2f931e7076f9003e8eef2582778
---
 src/text/strings.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/text/strings.c b/src/text/strings.c
index 36b3e23..eb46c9e 100644
--- a/src/text/strings.c
+++ b/src/text/strings.c
@@ -964,6 +964,10 @@ char *str_format( vlc_object_t *p_this, const char *psz_src )
  */
 void filename_sanitize( char *str )
 {
+#if defined( WIN32 )
+    char *str_base = str;
+#endif
+
     if( *str == '.' && (str[1] == '\0' || (str[1] == '.' && str[2] == '\0' ) ) )
     {
         while( *str )
    
    
More information about the vlc-devel
mailing list