summaryrefslogtreecommitdiffstats
path: root/Source/CTest/Curl/sendf.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/sendf.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/sendf.c')
-rw-r--r--Source/CTest/Curl/sendf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/CTest/Curl/sendf.c b/Source/CTest/Curl/sendf.c
index 89c2665..fae2ff3 100644
--- a/Source/CTest/Curl/sendf.c
+++ b/Source/CTest/Curl/sendf.c
@@ -88,10 +88,10 @@ struct curl_slist *curl_slist_append(struct curl_slist *list,
new_item = (struct curl_slist *) malloc(sizeof(struct curl_slist));
if (new_item) {
- char *dup = strdup(data);
- if(dup) {
+ char *cuDup = strdup(data);
+ if(cuDup) {
new_item->next = NULL;
- new_item->data = dup;
+ new_item->data = cuDup;
}
else {
free(new_item);