Commit a87ba6f4 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

advpack: Remove some dead code. (Coverity)

parent cafe24b3
...@@ -224,7 +224,6 @@ HRESULT WINAPI RegInstallW(HMODULE hm, LPCWSTR pszSection, const STRTABLEW* pstT ...@@ -224,7 +224,6 @@ HRESULT WINAPI RegInstallW(HMODULE hm, LPCWSTR pszSection, const STRTABLEW* pstT
int i; int i;
CABINFOW cabinfo; CABINFOW cabinfo;
WCHAR tmp_ini_path[MAX_PATH]; WCHAR tmp_ini_path[MAX_PATH];
HINF hinf = INVALID_HANDLE_VALUE;
HRESULT hr = E_FAIL; HRESULT hr = E_FAIL;
TRACE("(%p, %s, %p)\n", hm, debugstr_w(pszSection), pstTable); TRACE("(%p, %s, %p)\n", hm, debugstr_w(pszSection), pstTable);
...@@ -262,8 +261,6 @@ HRESULT WINAPI RegInstallW(HMODULE hm, LPCWSTR pszSection, const STRTABLEW* pstT ...@@ -262,8 +261,6 @@ HRESULT WINAPI RegInstallW(HMODULE hm, LPCWSTR pszSection, const STRTABLEW* pstT
hr = ExecuteCabW(NULL, &cabinfo, NULL); hr = ExecuteCabW(NULL, &cabinfo, NULL);
done: done:
if (hinf != INVALID_HANDLE_VALUE)
SetupCloseInfFile(hinf);
DeleteFileW(tmp_ini_path); DeleteFileW(tmp_ini_path);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment