diff options
author | George Hazan <george.hazan@gmail.com> | 2015-08-13 21:41:59 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-08-13 21:41:59 +0000 |
commit | c65ea195980ccfacd3e3b4d5626ee2b40c54a3df (patch) | |
tree | e441f693e92bb6c78f48d2af9b7a67716b856c20 /plugins/AVS | |
parent | 2b449cbeb6b0dd23f19565028bf4852cdb24a2a1 (diff) |
warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@14947 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AVS')
-rw-r--r-- | plugins/AVS/src/poll.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/AVS/src/poll.cpp b/plugins/AVS/src/poll.cpp index f0e237bfef..16fdf87465 100644 --- a/plugins/AVS/src/poll.cpp +++ b/plugins/AVS/src/poll.cpp @@ -61,12 +61,9 @@ static int QueueSortItems(const QueueItem *p1, const QueueItem *p2) static OBJLIST<QueueItem> queue(20, QueueSortItems);
static mir_cs cs;
-static int waitTime;
void InitPolls()
{
- waitTime = REQUEST_WAIT_TIME;
-
// Init request queue
mir_forkthread(RequestThread, NULL);
}
@@ -137,7 +134,7 @@ static void QueueAdd(MCONTACT hContact, int waitTime) // Add an contact to a queue
void QueueAdd(MCONTACT hContact)
{
- QueueAdd(hContact, waitTime);
+ QueueAdd(hContact, REQUEST_WAIT_TIME);
}
void ProcessAvatarInfo(MCONTACT hContact, int type, PROTO_AVATAR_INFORMATION *pai, const char *szProto)
|