]> git.sesse.net Git - vlc/commitdiff
AllocatePluginDir: remove dummy b_die check
authorRémi Denis-Courmont <remi@remlab.net>
Sun, 2 Aug 2009 16:01:35 +0000 (19:01 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 2 Aug 2009 16:34:57 +0000 (19:34 +0300)
Nothing can really kill VLC when browsing plugins, since nothing has
started.

src/modules/modules.c

index 815d11cf921b8a716124ad57004079eeb89e3379..a495d7ef71444ea7e7b15c915933f9ea466401ab 100644 (file)
@@ -1102,7 +1102,7 @@ static void AllocatePluginDir( vlc_object_t *p_this, module_bank_t *p_bank,
     i_dirlen = strlen( psz_dir );
 
     /* Parse the directory and try to load all files it contains. */
-    while( !p_this->p_libvlc->b_die && ( file = readdir( dir ) ) )
+    while( ( file = readdir( dir ) ) )
     {
         struct stat statbuf;
         unsigned int i_len;