]> git.sesse.net Git - vlc/commitdiff
Untested windows compile fix.
authorAntoine Cellerier <dionoea@videolan.org>
Thu, 11 Feb 2010 11:47:28 +0000 (12:47 +0100)
committerAntoine Cellerier <dionoea@videolan.org>
Thu, 11 Feb 2010 11:47:28 +0000 (12:47 +0100)
src/text/strings.c

index 36b3e2335764545daa4a71288d4d2d6e8675b590..eb46c9e5bf05e7ea41b4ba2378de78b85af7ad11 100644 (file)
@@ -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 )