Andrew Talbot : hhctrl.ocx: Remove unused variable.

Alexandre Julliard julliard at winehq.org
Thu Apr 17 14:43:41 CDT 2008


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

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Thu Apr 17 17:39:42 2008 +0100

hhctrl.ocx: Remove unused variable.

---

 dlls/hhctrl.ocx/chm.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/dlls/hhctrl.ocx/chm.c b/dlls/hhctrl.ocx/chm.c
index f02866f..699fa04 100644
--- a/dlls/hhctrl.ocx/chm.c
+++ b/dlls/hhctrl.ocx/chm.c
@@ -363,14 +363,13 @@ IStream *GetChmStream(CHMInfo *info, LPCWSTR parent_chm, ChmPath *chm_file)
 CHMInfo *OpenCHM(LPCWSTR szFile)
 {
     WCHAR file[MAX_PATH] = {0};
-    DWORD res;
     HRESULT hres;
 
     static const WCHAR wszSTRINGS[] = {'#','S','T','R','I','N','G','S',0};
 
     CHMInfo *ret = heap_alloc_zero(sizeof(CHMInfo));
 
-    res = GetFullPathNameW(szFile, sizeof(file)/sizeof(file[0]), file, NULL);
+    GetFullPathNameW(szFile, sizeof(file)/sizeof(file[0]), file, NULL);
     ret->szFile = strdupW(file);
 
     hres = CoCreateInstance(&CLSID_ITStorage, NULL, CLSCTX_INPROC_SERVER,




More information about the wine-cvs mailing list