From 16b95fc77316fdd3866f7de4ebb5d14bd136ac11 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 27 Sep 2007 01:45:22 +0000 Subject: Enabled a few more gcc warnings with --enable-debug. Renamed a few variables to avoid shadowing global declarations. --- lib/file.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/file.c') diff --git a/lib/file.c b/lib/file.c index 0478d3ebd..88d6bf26a 100644 --- a/lib/file.c +++ b/lib/file.c @@ -373,12 +373,12 @@ CURLcode Curl_file(struct connectdata *conn, bool *done) if(fstated) { const struct tm *tm; - time_t clock = (time_t)statbuf.st_mtime; + time_t filetime = (time_t)statbuf.st_mtime; #ifdef HAVE_GMTIME_R struct tm buffer; - tm = (const struct tm *)gmtime_r(&clock, &buffer); + tm = (const struct tm *)gmtime_r(&filetime, &buffer); #else - tm = gmtime(&clock); + tm = gmtime(&filetime); #endif /* format: "Tue, 15 Nov 1994 12:45:26 GMT" */ snprintf(buf, BUFSIZE-1, -- cgit v1.2.3