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

Alexandre Julliard julliard at winehq.org
Mon Apr 26 13:59:26 CDT 2010


Module: wine
Branch: master
Commit: 814f570e5b9aeb3051c40bf276f122d6af02f02c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=814f570e5b9aeb3051c40bf276f122d6af02f02c

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Sat Apr 24 23:07:37 2010 +0200

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

---

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




More information about the wine-cvs mailing list