Fix clang warning: Value stored to 'timeptr' is never read.
authorFabian Keil <fk@fabiankeil.de>
Tue, 19 May 2009 17:48:58 +0000 (17:48 +0000)
committerFabian Keil <fk@fabiankeil.de>
Tue, 19 May 2009 17:48:58 +0000 (17:48 +0000)
parsers.c

index a4c9868..48845d7 100644 (file)
--- a/parsers.c
+++ b/parsers.c
@@ -1,4 +1,4 @@
-const char parsers_rcs[] = "$Id: parsers.c,v 1.157 2009/05/16 13:27:20 fabiankeil Exp $";
+const char parsers_rcs[] = "$Id: parsers.c,v 1.158 2009/05/19 17:27:05 fabiankeil Exp $";
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/parsers.c,v $
@@ -2277,13 +2277,13 @@ static jb_err server_last_modified(struct client_state *csp, char **header)
       log_error(LOG_LEVEL_HEADER, "Randomizing: %s", *header);
       now = time(NULL);
 #ifdef HAVE_GMTIME_R
-      timeptr = gmtime_r(&now, &gmt);
+      gmtime_r(&now, &gmt);
 #elif FEATURE_PTHREAD
       privoxy_mutex_lock(&gmtime_mutex);
-      timeptr = gmtime(&now);
+      gmtime(&now);
       privoxy_mutex_unlock(&gmtime_mutex);
 #else
-      timeptr = gmtime(&now);
+      gmtime(&now);
 #endif
       if (JB_ERR_OK != parse_header_time(header_time, &last_modified))
       {