vlc | branch: master | Rémi Denis-Courmont <r...@remlab.net> | Wed May  9 
20:36:07 2018 +0300| [31f34113ae22f3d6e803aa8ea9f77150c9b0154f] | committer: 
Rémi Denis-Courmont

cachegen: remove wrong/misleading error message

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

 bin/cachegen.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/bin/cachegen.c b/bin/cachegen.c
index 1a5a87f95c..5f0a1ac04b 100644
--- a/bin/cachegen.c
+++ b/bin/cachegen.c
@@ -88,12 +88,9 @@ int main (int argc, char *argv[])
         vlc_argv[vlc_argc] = NULL;
 
         libvlc_instance_t *vlc = libvlc_new (vlc_argc, vlc_argv);
-        if (vlc != NULL)
-            libvlc_release (vlc);
-        if (vlc == NULL)
-            fprintf (stderr, "No plugins in %s\n", path);
         if (vlc == NULL)
             return 1;
+        libvlc_release(vlc);
     }
 
     return 0;

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to