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

Alexandre Julliard julliard at winehq.org
Mon Jan 30 14:05:53 CST 2012


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

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Sun Jan 29 23:25:40 2012 +0100

msi: Avoid dead code in parse_prop (Coverity).

---

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

diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index 665ca63..663a917 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -233,8 +233,7 @@ static int parse_prop( const WCHAR *str, WCHAR *value, int *quotes )
                 break;
             default:
                 state = state_token;
-                if (!count) in_quotes = 0;
-                else in_quotes = 1;
+                in_quotes = 1;
                 len++;
                 break;
             }




More information about the wine-cvs mailing list