Fix some warnings from PVS-Studio.

Fixes #28667.

Some warnings fixed detailed in this post:
https://pvs-studio.com/en/blog/posts/cpp/1186/
This commit is contained in:
John Preston
2024-11-18 12:50:36 +04:00
parent e4e2f47f8e
commit 9d74d93ed7
18 changed files with 42 additions and 55 deletions
@@ -438,8 +438,6 @@ void ApiWrap::startExport(
}
if (_settings->types & Settings::Type::AnyChatsMask) {
_startProcess->steps.push_back(Step::SplitRanges);
}
if (_settings->types & Settings::Type::AnyChatsMask) {
_startProcess->steps.push_back(Step::DialogsCount);
}
if (_settings->types & Settings::Type::GroupsChannelsMask) {