regedit: remove dead code

Jan Zerebecki jan.wine at zerebecki.de
Mon Sep 25 02:31:33 CDT 2006


If this patch is rejected from inclusion, please tell me why, as
I would have to ask anyway.

From: Jan Zerebecki <jan.wine at zerebecki.de>
Changelog:
regedit: remove dead code
---

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

diff --git a/programs/regedit/listview.c b/programs/regedit/listview.c
index bddc2b6..bd7b0b6 100644
--- a/programs/regedit/listview.c
+++ b/programs/regedit/listview.c
@@ -528,7 +528,6 @@ BOOL RefreshListView(HWND hwndLV, HKEY h
     if (RegQueryValueEx(hKey, NULL, NULL, &valType, valBuf, &valSize) == ERROR_FILE_NOT_FOUND) { 
         AddEntryToList(hwndLV, NULL, REG_SZ, NULL, 0, !highlightValue);
     }
-    /*dwValSize = max_val_size; */
     for(index = 0; index < val_count; index++) {
         BOOL bSelected = (valName == highlightValue); /* NOT a bug, we check for double NULL here */
         valNameLen = max_val_name_len;



More information about the wine-patches mailing list