Remove redundant/tautological comparisons identified by PVS Studio

This commit is contained in:
baldurk committed 2020-01-21 18:28:56 +00:00
1 parent 8fa93105f2
commit 7dd116abd4
37 files changed
+381 -412

No files matched your search

+2 -2
View File
@@ -417,7 +417,7 @@ void LiveCapture::deleteCapture_triggered()
m_Ctx.Replay().DeleteCapture(cap->path, cap->local);
}
if(cap->saved || cap->local)
if(cap->local)
{
m_Main->RemoveRecentCapture(cap->path);
}
@@ -910,7 +910,7 @@ void LiveCapture::cleanItems()
m_Ctx.Replay().DeleteCapture(cap->path, cap->local);
}
if(cap->saved || cap->local)
if(cap->local)
{
m_Main->RemoveRecentCapture(cap->path);
}