shell32: Avoid shadowing a parameter.
This commit is contained in:
parent
a326c9ee67
commit
b9cc7987cb
|
@ -423,10 +423,10 @@ static HRESULT TRASH_GetDetails(const TRASH_BUCKET *bucket, LPCSTR filename, WIN
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* show only the file name */
|
/* show only the file name */
|
||||||
char *filename = strrchr(original_file_name, '/');
|
char *file = strrchr(original_file_name, '/');
|
||||||
if (filename == NULL)
|
if (file == NULL)
|
||||||
filename = original_file_name;
|
file = original_file_name;
|
||||||
MultiByteToWideChar(CP_UNIXCP, 0, filename, -1, data->cFileName, MAX_PATH);
|
MultiByteToWideChar(CP_UNIXCP, 0, file, -1, data->cFileName, MAX_PATH);
|
||||||
}
|
}
|
||||||
|
|
||||||
deletion_date = XDG_GetStringValue(parsed, trashinfo_group, "DeletionDate", 0);
|
deletion_date = XDG_GetStringValue(parsed, trashinfo_group, "DeletionDate", 0);
|
||||||
|
|
Loading…
Reference in New Issue