regsvr32: Simplify conditional expression (PVS-Studio).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2015-10-13 13:35:39 +03:00 committed by Alexandre Julliard
parent a26a6b877d
commit 6de871c01b

View File

@ -296,7 +296,7 @@ int wmain(int argc, WCHAR* argv[])
continue;
}
if (!CallInstall || (CallInstall && CallRegister))
if (!CallInstall || CallRegister)
{
if(Unregister)
res = UnregisterDll(DllName);