[vlc-commits] Revert "http/transport: add missing init"

Rémi Denis-Courmont git at videolan.org
Sat Jan 2 19:45:14 CET 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jan  2 20:45:05 2016 +0200| [c903311593fdf2f81a0ff9ef1317eb5218a48786] | committer: Rémi Denis-Courmont

Revert "http/transport: add missing init"

This reverts commit e6ef1ae0d97350b6d64dd3169bd872852eb9751f.
This made no sense.

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

 modules/access/http/transport.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/http/transport.c b/modules/access/http/transport.c
index 735a9bf..8c3ec0d 100644
--- a/modules/access/http/transport.c
+++ b/modules/access/http/transport.c
@@ -133,7 +133,7 @@ vlc_tls_t *vlc_https_connect(vlc_tls_creds_t *creds, const char *name,
 
     /* TLS with ALPN */
     const char *alpn[] = { "h2", "http/1.1", NULL };
-    char *alp = NULL;
+    char *alp;
 
     vlc_tls_t *tls = vlc_tls_ClientSessionCreate(creds, fd, name, "https",
                                                  alpn, &alp);



More information about the vlc-commits mailing list