winecfg: Remove variable cUnixPathLen which is not really used from apply_shell_folder_changes.

oldstable
Gerald Pfeifer 2010-04-24 23:07:37 +02:00 committed by Alexandre Julliard
parent d623f0045a
commit 814f570e5b
1 changed files with 1 additions and 2 deletions

View File

@ -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");