From e372b5c98c28088a666e8f8050c0ec57e7b326de Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Fri, 10 Apr 2015 18:26:49 +0000 Subject: SkypeWeb: Fixed some bugs from coverity git-svn-id: http://svn.miranda-ng.org/main/trunk@12751 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/request_queue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/SkypeWeb/src/request_queue.cpp') diff --git a/protocols/SkypeWeb/src/request_queue.cpp b/protocols/SkypeWeb/src/request_queue.cpp index 258fc3d5d4..ac10e9c9c7 100644 --- a/protocols/SkypeWeb/src/request_queue.cpp +++ b/protocols/SkypeWeb/src/request_queue.cpp @@ -20,6 +20,7 @@ along with this program. If not, see . RequestQueue::RequestQueue(HANDLE hConnection) : hConnection(hConnection), requests(1) { + isTerminated = false; hRequestQueueThread = NULL; hRequestQueueEvent = CreateEvent(NULL, FALSE, FALSE, NULL); } @@ -35,7 +36,6 @@ void RequestQueue::Start() if (!isTerminated) return; - isTerminated = false; if (hRequestQueueThread == NULL) hRequestQueueThread = mir_forkthread((pThreadFunc)&RequestQueue::WorkerThread, this); } -- cgit v1.2.3