[vlc-commits] Revert "access: http: fix uninitialized member (cid #1346979)"

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


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

Revert "access: http: fix uninitialized member (cid #1346979)"

This reverts commit 83d458302a0693117213414dc24d5690005c0a0e.
This was useless and not portable.

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

 modules/access/http/message.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/access/http/message.c b/modules/access/http/message.c
index ead6cf3..592ea90 100644
--- a/modules/access/http/message.c
+++ b/modules/access/http/message.c
@@ -735,7 +735,6 @@ int vlc_http_msg_add_atime(struct vlc_http_msg *m)
 static time_t vlc_http_mktime(const char *str)
 {   /* IETF RFC7231 §7.1.1.1 */
     struct tm tm;
-    tm.tm_isdst = -1;
     char mon[4];
 
     /* Internet Message Format date */



More information about the vlc-commits mailing list