summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_queue.cpp
diff options
context:
space:
mode:
authorElzorFox <elzorfox@ya.ru>2018-12-26 09:28:57 +0500
committerElzorFox <elzorfox@ya.ru>2018-12-26 09:28:57 +0500
commitc2139596f3673d1209d7d398deb36f2b7a170af5 (patch)
treed58380fe00b6983e044c8c67fc9d39e674dd18d7 /protocols/VKontakte/src/vk_queue.cpp
parent17715ed627a2c5bf2e20e358d9bedb2cbd83e846 (diff)
VKontakte: fix PVS warnings
Diffstat (limited to 'protocols/VKontakte/src/vk_queue.cpp')
-rw-r--r--protocols/VKontakte/src/vk_queue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_queue.cpp b/protocols/VKontakte/src/vk_queue.cpp
index c4ef960cc0..fd5b1bc621 100644
--- a/protocols/VKontakte/src/vk_queue.cpp
+++ b/protocols/VKontakte/src/vk_queue.cpp
@@ -169,7 +169,7 @@ void CVkProto::WorkerThread(void*)
ULONG utime = GetTickCount();
lWaitingTime = (utime - uTime[0]) > 1500 ? 0 : 1500 - (utime - uTime[0]);
- if (!(pReq->m_bApiReq) || lWaitingTime < 0)
+ if (!(pReq->m_bApiReq))
lWaitingTime = 0;
}