Commit 5bffd28b authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

msi: Remove some redundant else statements.

parent 64506c0a
...@@ -249,16 +249,18 @@ LPWSTR resolve_folder(MSIPACKAGE *package, LPCWSTR name, BOOL source, ...@@ -249,16 +249,18 @@ LPWSTR resolve_folder(MSIPACKAGE *package, LPCWSTR name, BOOL source,
TRACE(" already resolved to %s\n",debugstr_w(path)); TRACE(" already resolved to %s\n",debugstr_w(path));
return path; return path;
} }
else if (source && f->ResolvedSource)
if (source && f->ResolvedSource)
{ {
path = strdupW( f->ResolvedSource ); path = strdupW( f->ResolvedSource );
TRACE(" (source)already resolved to %s\n",debugstr_w(path)); TRACE(" (source)already resolved to %s\n",debugstr_w(path));
return path; return path;
} }
else if (!source && f->Property)
if (!source && f->Property)
{ {
path = build_directory_name( 2, f->Property, NULL ); path = build_directory_name( 2, f->Property, NULL );
TRACE(" internally set to %s\n",debugstr_w(path)); TRACE(" internally set to %s\n",debugstr_w(path));
if (set_prop) if (set_prop)
MSI_SetPropertyW( package, name, path ); MSI_SetPropertyW( package, name, 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