[PATCH] msi: remove superflous NULL check (Coverity)
Marcus Meissner
marcus at jet.franken.de
Sun Jun 26 10:24:25 CDT 2011
Hi,
p can just not be NULL here. CID 2004.
Ciao, Marcus
---
dlls/msi/dialog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/msi/dialog.c b/dlls/msi/dialog.c
index 2eb7983..f49feda 100644
--- a/dlls/msi/dialog.c
+++ b/dlls/msi/dialog.c
@@ -283,7 +283,7 @@ static LPWSTR msi_dialog_get_style( LPCWSTR p, LPCWSTR *rest )
return NULL;
}
- if (!p || !q)
+ if (!q)
return NULL;
*rest = ++q;
--
1.7.3.4
More information about the wine-patches
mailing list