Hans Leidekker : hhctrl.ocx: Remove some dead code.

Alexandre Julliard julliard at winehq.org
Wed Jul 1 09:28:11 CDT 2009


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

Author: Hans Leidekker <hans at meelstraat.net>
Date:   Wed Jul  1 11:54:07 2009 +0200

hhctrl.ocx: Remove some dead code.

This condition is inside the switch block for HH_DISPLAY_SEARCH,
so it can never evaluate to true.

---

 dlls/hhctrl.ocx/hhctrl.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/dlls/hhctrl.ocx/hhctrl.c b/dlls/hhctrl.ocx/hhctrl.c
index 5e707b9..10e04bc 100644
--- a/dlls/hhctrl.ocx/hhctrl.c
+++ b/dlls/hhctrl.ocx/hhctrl.c
@@ -119,11 +119,6 @@ HWND WINAPI HtmlHelpW(HWND caller, LPCWSTR filename, UINT command, DWORD_PTR dat
             filename = chm_file;
             index += 2; /* advance beyond "::" for calling NavigateToChm() later */
         }
-        else
-        {
-            if (command!=HH_DISPLAY_SEARCH) /* FIXME - use HH_FTS_QUERYW structure in data */
-                index = (const WCHAR*)data;
-        }
 
         info = CreateHelpViewer(filename);
         if(!info)




More information about the wine-cvs mailing list