Gerald Pfeifer : regedit: Remove variable ExportKeyPath which is not really used from ExportRegistryFile .

Alexandre Julliard julliard at winehq.org
Mon May 3 11:54:08 CDT 2010


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

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Sat May  1 16:38:50 2010 +0200

regedit: Remove variable ExportKeyPath which is not really used from ExportRegistryFile.

---

 programs/regedit/framewnd.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/programs/regedit/framewnd.c b/programs/regedit/framewnd.c
index a737d8d..c5eba38 100644
--- a/programs/regedit/framewnd.c
+++ b/programs/regedit/framewnd.c
@@ -363,10 +363,8 @@ static BOOL ImportRegistryFile(HWND hWnd)
 static BOOL ExportRegistryFile(HWND hWnd)
 {
     OPENFILENAMEW ofn;
-    WCHAR ExportKeyPath[_MAX_PATH];
     WCHAR title[128];
 
-    ExportKeyPath[0] = 0;
     InitOpenFileName(hWnd, &ofn);
     LoadStringW(hInst, IDS_FILEDIALOG_EXPORT_TITLE, title, COUNT_OF(title));
     ofn.lpstrTitle = title;




More information about the wine-cvs mailing list