Reduce the indent level of a function.
This commit is contained in:
parent
22a5332661
commit
f11c8b0098
@ -1724,14 +1724,12 @@ static UINT ACTION_CostFinalize(MSIPACKAGE *package)
|
|||||||
|
|
||||||
LIST_FOR_EACH_ENTRY( file, &package->files, MSIFILE, entry )
|
LIST_FOR_EACH_ENTRY( file, &package->files, MSIFILE, entry )
|
||||||
{
|
{
|
||||||
MSICOMPONENT* comp = NULL;
|
MSICOMPONENT* comp = file->Component;
|
||||||
|
|
||||||
comp = file->Component;
|
|
||||||
|
|
||||||
if (comp)
|
|
||||||
{
|
|
||||||
LPWSTR p;
|
LPWSTR p;
|
||||||
|
|
||||||
|
if (!comp)
|
||||||
|
continue;
|
||||||
|
|
||||||
/* calculate target */
|
/* calculate target */
|
||||||
p = resolve_folder(package, comp->Directory, FALSE, FALSE, NULL);
|
p = resolve_folder(package, comp->Directory, FALSE, FALSE, NULL);
|
||||||
|
|
||||||
@ -1751,9 +1749,9 @@ static UINT ACTION_CostFinalize(MSIPACKAGE *package)
|
|||||||
{
|
{
|
||||||
file->State = 1;
|
file->State = 1;
|
||||||
comp->Cost += file->FileSize;
|
comp->Cost += file->FileSize;
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
if (file->Version)
|
if (file->Version)
|
||||||
{
|
{
|
||||||
DWORD handle;
|
DWORD handle;
|
||||||
@ -1795,8 +1793,6 @@ static UINT ACTION_CostFinalize(MSIPACKAGE *package)
|
|||||||
else
|
else
|
||||||
file->State = 3;
|
file->State = 3;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
TRACE("Evaluating Condition Table\n");
|
TRACE("Evaluating Condition Table\n");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user