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

Reduce the indent level of a function.

parent 22a53326
...@@ -1724,14 +1724,12 @@ static UINT ACTION_CostFinalize(MSIPACKAGE *package) ...@@ -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) ...@@ -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) ...@@ -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");
......
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