diff options
-rw-r--r-- | lib/http.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/http.c b/lib/http.c index 35baa3407..6d108dff5 100644 --- a/lib/http.c +++ b/lib/http.c @@ -1659,10 +1659,8 @@ CURLcode Curl_add_timecondition(struct SessionHandle *data, { const struct tm *tm; char *buf = data->state.buffer; - CURLcode result = CURLE_OK; struct tm keeptime; - - result = Curl_gmtime(data->set.timevalue, &keeptime); + CURLcode result = Curl_gmtime(data->set.timevalue, &keeptime); if(result) { failf(data, "Invalid TIMEVALUE"); return result; |