Remove redundant/tautological comparisons identified by PVS Studio

This commit is contained in:
baldurk
2020-01-21 18:28:56 +00:00
parent 8fa93105f2
commit 7dd116abd4
37 changed files with 381 additions and 412 deletions
+1 -1
View File
@@ -1146,7 +1146,7 @@ ExecuteResult AndroidRemoteServer::ExecuteAndInject(const char *a, const char *w
// without ever opening a connection.
int curpid = Android::GetCurrentPID(m_deviceID, packageName);
if(pid != 0 && curpid == 0)
if(curpid == 0)
{
RDCERR("APK has crashed or never opened target control connection before closing.");
break;