* modules/access/directory.c: minor fix.
authorGildas Bazin <gbazin@videolan.org>
Sun, 30 May 2004 17:22:09 +0000 (17:22 +0000)
committerGildas Bazin <gbazin@videolan.org>
Sun, 30 May 2004 17:22:09 +0000 (17:22 +0000)
modules/access/directory.c

index 6598eb0..9398958 100644 (file)
@@ -149,11 +149,11 @@ static void Close( vlc_object_t * p_this )
 /*****************************************************************************
  * Read: read the directory
  *****************************************************************************/
-static ssize_t Read( input_thread_t * p_input, byte_t * p_buffer, size_t i_len )
+static ssize_t Read( input_thread_t * p_input, byte_t * p_buffer, size_t i_len)
 {
-    char *                      psz_name;
-    char *                      psz_mode;
-    int                         i_mode, i_pos;
+    char *psz_name = 0;
+    char *psz_mode = 0;
+    int  i_mode, i_pos;
 
     playlist_t * p_playlist = (playlist_t *) vlc_object_find(
                         p_input, VLC_OBJECT_PLAYLIST, FIND_ANYWHERE );