Commit 6351cd82 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

msi: Remove some dead assignments (clang).

parent bd388594
...@@ -460,7 +460,7 @@ static UINT ACTION_AppSearchReg(MSIPACKAGE *package, LPWSTR *appValue, MSISIGNAT ...@@ -460,7 +460,7 @@ static UINT ACTION_AppSearchReg(MSIPACKAGE *package, LPWSTR *appValue, MSISIGNAT
switch (type & 0x0f) switch (type & 0x0f)
{ {
case msidbLocatorTypeDirectory: case msidbLocatorTypeDirectory:
rc = ACTION_SearchDirectory(package, sig, ptr, 0, appValue); ACTION_SearchDirectory(package, sig, ptr, 0, appValue);
break; break;
case msidbLocatorTypeFileName: case msidbLocatorTypeFileName:
*appValue = app_search_file(ptr, sig); *appValue = app_search_file(ptr, sig);
...@@ -481,7 +481,6 @@ end: ...@@ -481,7 +481,6 @@ end:
msi_free( deformatted ); msi_free( deformatted );
msiobj_release(&row->hdr); msiobj_release(&row->hdr);
return ERROR_SUCCESS; return ERROR_SUCCESS;
} }
...@@ -961,7 +960,7 @@ static UINT ACTION_AppSearchDr(MSIPACKAGE *package, LPWSTR *appValue, MSISIGNATU ...@@ -961,7 +960,7 @@ static UINT ACTION_AppSearchDr(MSIPACKAGE *package, LPWSTR *appValue, MSISIGNATU
{ {
MSISIGNATURE parentSig; MSISIGNATURE parentSig;
rc = ACTION_AppSearchSigName(package, parentName, &parentSig, &parent); ACTION_AppSearchSigName(package, parentName, &parentSig, &parent);
ACTION_FreeSignature(&parentSig); ACTION_FreeSignature(&parentSig);
if (!parent) if (!parent)
{ {
......
...@@ -2467,12 +2467,11 @@ MSISelectionTree_WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) ...@@ -2467,12 +2467,11 @@ MSISelectionTree_WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
tvhti.pt.y = (short)HIWORD( lParam ); tvhti.pt.y = (short)HIWORD( lParam );
tvhti.flags = 0; tvhti.flags = 0;
tvhti.hItem = 0; tvhti.hItem = 0;
r = CallWindowProcW(info->oldproc, hWnd, TVM_HITTEST, 0, (LPARAM) &tvhti ); CallWindowProcW(info->oldproc, hWnd, TVM_HITTEST, 0, (LPARAM) &tvhti );
if (tvhti.flags & TVHT_ONITEMSTATEICON) if (tvhti.flags & TVHT_ONITEMSTATEICON)
return msi_seltree_menu( hWnd, tvhti.hItem ); return msi_seltree_menu( hWnd, tvhti.hItem );
break; break;
} }
r = CallWindowProcW(info->oldproc, hWnd, msg, wParam, lParam); r = CallWindowProcW(info->oldproc, hWnd, msg, wParam, lParam);
switch( msg ) switch( msg )
......
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