Remove variable ExportKeyPath which is not really used from ExportRegistryFile.
Gerald Pfeifer
gerald at pfeifer.com
Sat May 1 09:38:50 CDT 2010
---
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;
--
1.6.6.2
More information about the wine-patches
mailing list