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

Felix Paul Kühne git at videolan.org
Sat Jan 2 18:48:56 CET 2016


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Jan  2 18:38:43 2016 +0100| [e6ef1ae0d97350b6d64dd3169bd872852eb9751f] | committer: Felix Paul Kühne

http/transport: add missing init

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

 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 8c3ec0d..735a9bf 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;
+    char *alp = NULL;
 
     vlc_tls_t *tls = vlc_tls_ClientSessionCreate(creds, fd, name, "https",
                                                  alpn, &alp);



More information about the vlc-commits mailing list