summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_feed.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_feed.cpp
parent17715ed627a2c5bf2e20e358d9bedb2cbd83e846 (diff)
VKontakte: fix PVS warnings
Diffstat (limited to 'protocols/VKontakte/src/vk_feed.cpp')
-rw-r--r--protocols/VKontakte/src/vk_feed.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_feed.cpp b/protocols/VKontakte/src/vk_feed.cpp
index 82f488f5af..e36d2332e1 100644
--- a/protocols/VKontakte/src/vk_feed.cpp
+++ b/protocols/VKontakte/src/vk_feed.cpp
@@ -475,7 +475,7 @@ CVKNewsItem* CVkProto::GetVkNotificationsItem(const JSONNode &jnItem, OBJLIST<CV
if (!vkNotification)
return nullptr;
- if (vkNotification && !wszFeedback.IsEmpty()) {
+ if (!wszFeedback.IsEmpty()) {
CMStringW wszNotificaton;
wszNotificaton.AppendFormat(wszFeedback, wszNotificationTranslate.c_str(), vkNotification->wszText.c_str());
vkNotification->wszText = wszNotificaton;