From 814f570e5b9aeb3051c40bf276f122d6af02f02c Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Sat, 24 Apr 2010 23:07:37 +0200 Subject: [PATCH] winecfg: Remove variable cUnixPathLen which is not really used from apply_shell_folder_changes. --- programs/winecfg/theme.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/programs/winecfg/theme.c b/programs/winecfg/theme.c index 96110b34c4a..56b358537b9 100644 --- a/programs/winecfg/theme.c +++ b/programs/winecfg/theme.c @@ -903,7 +903,7 @@ static void on_shell_folder_edit_changed(HWND hDlg) { static void apply_shell_folder_changes(void) { WCHAR wszPath[MAX_PATH]; char szBackupPath[FILENAME_MAX], szUnixPath[FILENAME_MAX], *pszUnixPath = NULL; - int i, cUnixPathLen; + int i; struct stat statPath; HRESULT hr; @@ -923,7 +923,6 @@ static void apply_shell_folder_changes(void) { HeapFree(GetProcessHeap(), 0, pszUnixPath); /* Derive name for folder backup. */ - cUnixPathLen = lstrlenA(szUnixPath); lstrcpyA(szBackupPath, szUnixPath); lstrcatA(szBackupPath, ".winecfg");