From c65ea195980ccfacd3e3b4d5626ee2b40c54a3df Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 13 Aug 2015 21:41:59 +0000 Subject: warning fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@14947 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/AVS/src/poll.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'plugins/AVS/src') 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 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) -- cgit v1.2.3