[vlc-commits] httpd: dead code

Rémi Denis-Courmont git at videolan.org
Sat Aug 23 00:06:54 CEST 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Aug 23 00:20:02 2014 +0300| [ef70096b53c2490c5b21dd2ac1efa0c5c4de29cb] | committer: Rémi Denis-Courmont

httpd: dead code

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

 src/network/httpd.c |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/network/httpd.c b/src/network/httpd.c
index aa25c74..8039ea0 100644
--- a/src/network/httpd.c
+++ b/src/network/httpd.c
@@ -891,10 +891,6 @@ httpd_host_t *vlc_https_HostNew(vlc_object_t *obj)
     free(cert);
 
     return httpd_HostCreate(obj, "http-host", "https-port", tls);
-
-error:
-    vlc_tls_Delete(tls);
-    return NULL;
 }
 
 httpd_host_t *vlc_rtsp_HostNew(vlc_object_t *p_this)



More information about the vlc-commits mailing list