Commit 814f570e authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

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

parent d623f004
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment