=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: msi: Avoid dead code in parse_prop (Coverity).

Alexandre Julliard julliard at winehq.org
Wed Jan 25 15:14:02 CST 2012


Module: wine
Branch: master
Commit: 8ef373a7f24788b1302c42a845273220deffc05f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8ef373a7f24788b1302c42a845273220deffc05f

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Tue Jan 24 19:04:03 2012 +0100

msi: Avoid dead code in parse_prop (Coverity).

---

 dlls/msi/action.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index 59e7b6d..665ca63 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -222,7 +222,6 @@ static int parse_prop( const WCHAR *str, WCHAR *value, int *quotes )
             switch (*p)
             {
             case ' ':
-                if (!count) goto done;
                 in_quotes = 1;
                 ignore = 1;
                 len++;




More information about the wine-cvs mailing list