[PATCH] regsvr32: Simplify conditional expression (PVS-Studio)
Nikolay Sivov
nsivov at codeweavers.com
Tue Oct 13 05:35:39 CDT 2015
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
programs/regsvr32/regsvr32.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/regsvr32/regsvr32.c b/programs/regsvr32/regsvr32.c
index 03d45fa..6338bae 100644
--- a/programs/regsvr32/regsvr32.c
+++ b/programs/regsvr32/regsvr32.c
@@ -296,7 +296,7 @@ int wmain(int argc, WCHAR* argv[])
continue;
}
- if (!CallInstall || (CallInstall && CallRegister))
+ if (!CallInstall || CallRegister)
{
if(Unregister)
res = UnregisterDll(DllName);
--
2.6.1
More information about the wine-patches
mailing list