summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_polling.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/SkypeWeb/src/skype_polling.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_polling.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/SkypeWeb/src/skype_polling.cpp b/protocols/SkypeWeb/src/skype_polling.cpp
index 668359667f..528f9e7d53 100644
--- a/protocols/SkypeWeb/src/skype_polling.cpp
+++ b/protocols/SkypeWeb/src/skype_polling.cpp
@@ -5,13 +5,12 @@
void CSkypeProto::ParsePollData(JSONNODE *data)
{
debugLogA("CSkypeProto::ParsePollData");
- JSONNODE *node, *item = NULL;
+ JSONNODE *node;
node = json_get(data, "eventMessages");
if (node != NULL)
{
- int index, length;
JSONNODE *messages = json_as_array(node);
- for (int i = 0; i < json_size(messages); i++)
+ for (size_t i = 0; i < json_size(messages); i++)
{
JSONNODE *message = json_at(messages, i);
JSONNODE *resType = json_get(message, "resourceType");