]> granicus.if.org Git - curl/commit
parsedate.c: Fixed compilation warning
authorSteve Holme <steve_holme@hotmail.com>
Wed, 10 Dec 2014 11:38:38 +0000 (11:38 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Wed, 10 Dec 2014 11:38:38 +0000 (11:38 +0000)
commit664b9baf67c2c22ebaf3606298ca9c4ce0b382d2
treeb089e9eaa0eaa1b5b44bfe9b6170c973e9d9cb0b
parentcd6c13c2b3ecfe36760074fb968a4d4d8a513e12
parsedate.c: Fixed compilation warning

parsedate.c:548: warning: 'parsed' may be used uninitialized in this
                 function

As curl_getdate() returns -1 when parsedate() fails we can initialise
parsed to -1.
lib/parsedate.c