From b9cc7987cb594b72092e08791a58f787e25392d4 Mon Sep 17 00:00:00 2001 From: Austin English Date: Wed, 9 Mar 2011 01:08:19 -0800 Subject: [PATCH] shell32: Avoid shadowing a parameter. --- dlls/shell32/trash.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/shell32/trash.c b/dlls/shell32/trash.c index 99e7d7e806c..3352c0ae1fd 100644 --- a/dlls/shell32/trash.c +++ b/dlls/shell32/trash.c @@ -423,10 +423,10 @@ static HRESULT TRASH_GetDetails(const TRASH_BUCKET *bucket, LPCSTR filename, WIN else { /* show only the file name */ - char *filename = strrchr(original_file_name, '/'); - if (filename == NULL) - filename = original_file_name; - MultiByteToWideChar(CP_UNIXCP, 0, filename, -1, data->cFileName, MAX_PATH); + char *file = strrchr(original_file_name, '/'); + if (file == NULL) + file = original_file_name; + MultiByteToWideChar(CP_UNIXCP, 0, file, -1, data->cFileName, MAX_PATH); } deletion_date = XDG_GetStringValue(parsed, trashinfo_group, "DeletionDate", 0);