summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-04-17 18:57:39 +0200
committerDaniel Stenberg <daniel@haxx.se>2010-04-17 18:57:39 +0200
commitb7848e4a7272e5319cf5794ec59ecaa955642e1c (patch)
treeeedaaf63c09073b0d83e2052b1b2e384073e4b99
parent99ec359b4d07bb3468aa617a2f13ad302ded0da3 (diff)
downloadcurl-b7848e4a7272e5319cf5794ec59ecaa955642e1c.tar.gz
parsedate: Value stored to 'found' is never read
-rw-r--r--lib/parsedate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/parsedate.c b/lib/parsedate.c
index 8e26f1c7e..26f7d84ce 100644
--- a/lib/parsedate.c
+++ b/lib/parsedate.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -370,7 +370,6 @@ int Curl_parsedate(const char *date, time_t *output)
(3 == sscanf(date, "%02d:%02d:%02d", &hournum, &minnum, &secnum))) {
/* time stamp! */
date += 8;
- found = TRUE;
}
else {
val = (int)strtol(date, &end, 10);