From 8283920268971b7567c3c2da9145caec13b668d7 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Sat, 1 May 2010 16:38:50 +0200 Subject: [PATCH] regedit: Remove variable ExportKeyPath which is not really used from ExportRegistryFile. --- programs/regedit/framewnd.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/programs/regedit/framewnd.c b/programs/regedit/framewnd.c index a737d8d84fa..c5eba382a63 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;