Remove variable cUnixPathLen which is not really used from apply_shell_folder_changes.
Gerald Pfeifer
gerald at pfeifer.com
Sat Apr 24 16:07:37 CDT 2010
---
programs/winecfg/theme.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/programs/winecfg/theme.c b/programs/winecfg/theme.c
index 96110b3..56b3585 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");
--
1.6.6.2
More information about the wine-patches
mailing list