summaryrefslogtreecommitdiffstats
path: root/Source/CTest/Curl/ftp.c
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-02-27 22:36:00 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-02-27 22:36:00 (GMT)
commit588653c4e8f16ab6f2cd5e552782057b5e679c9f (patch)
tree2584fd6ad674818a370ebd96cbf6bd6c8243e968 /Source/CTest/Curl/ftp.c
parent8946d2f55e1042dbcfb5faa37d558c46cdea0eb1 (diff)
downloadCMake-588653c4e8f16ab6f2cd5e552782057b5e679c9f.zip
CMake-588653c4e8f16ab6f2cd5e552782057b5e679c9f.tar.gz
CMake-588653c4e8f16ab6f2cd5e552782057b5e679c9f.tar.bz2
COMP: Remove warnings about shadow variables
Diffstat (limited to 'Source/CTest/Curl/ftp.c')
-rw-r--r--Source/CTest/Curl/ftp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/CTest/Curl/ftp.c b/Source/CTest/Curl/ftp.c
index 60881b0..2501412 100644
--- a/Source/CTest/Curl/ftp.c
+++ b/Source/CTest/Curl/ftp.c
@@ -2203,12 +2203,12 @@ CURLcode ftp_perform(struct connectdata *conn,
#ifdef HAVE_STRFTIME
if(data->set.get_filetime && (data->info.filetime>=0) ) {
struct tm *tm;
- time_t clock = (time_t)data->info.filetime;
+ time_t cuClock = (time_t)data->info.filetime;
#ifdef HAVE_GMTIME_R
struct tm buffer;
- tm = (struct tm *)gmtime_r(&clock, &buffer);
+ tm = (struct tm *)gmtime_r(&cuClock, &buffer);
#else
- tm = gmtime(&clock);
+ tm = gmtime(&cuClock);
#endif
/* format: "Tue, 15 Nov 1994 12:45:26" */
strftime(buf, BUFSIZE-1, "Last-Modified: %a, %d %b %Y %H:%M:%S GMT\r\n",