Mike McCormack : msi: Remove some redundant else statements.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Nov 17 04:54:14 CST 2006
Module: wine
Branch: master
Commit: 5bffd28be7f0314446ebf46d1c2a8c75c9398905
URL: http://source.winehq.org/git/wine.git/?a=commit;h=5bffd28be7f0314446ebf46d1c2a8c75c9398905
Author: Mike McCormack <mike at codeweavers.com>
Date: Fri Nov 17 15:14:39 2006 +0900
msi: Remove some redundant else statements.
---
dlls/msi/helpers.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/dlls/msi/helpers.c b/dlls/msi/helpers.c
index 427c1af..82f98b6 100644
--- a/dlls/msi/helpers.c
+++ b/dlls/msi/helpers.c
@@ -249,16 +249,18 @@ LPWSTR resolve_folder(MSIPACKAGE *packag
TRACE(" already resolved to %s\n",debugstr_w(path));
return path;
}
- else if (source && f->ResolvedSource)
+
+ if (source && f->ResolvedSource)
{
path = strdupW( f->ResolvedSource );
TRACE(" (source)already resolved to %s\n",debugstr_w(path));
return path;
}
- else if (!source && f->Property)
+
+ if (!source && f->Property)
{
path = build_directory_name( 2, f->Property, NULL );
-
+
TRACE(" internally set to %s\n",debugstr_w(path));
if (set_prop)
MSI_SetPropertyW( package, name, path );
More information about the wine-cvs
mailing list