From 968a7fb3175767908dcbb16756db2226acc9acdc Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 7 Sep 2017 23:22:40 +0300 Subject: Remove commented code from download.cpp --- src/net/download.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src') diff --git a/src/net/download.cpp b/src/net/download.cpp index af3e3eff6..db001d1b5 100644 --- a/src/net/download.cpp +++ b/src/net/download.cpp @@ -279,8 +279,6 @@ int Download::downloadThread(void *ptr) if ((d->mOptions.cancel != 0u) || isTerminate == true) { - // need terminate thread? - //d->mThread = nullptr; return 0; } d->mCurl = curl_easy_init(); @@ -477,8 +475,6 @@ int Download::downloadThread(void *ptr) if ((d->mOptions.cancel != 0u) || isTerminate == true) { - // need ternibate thread? - //d->mThread = nullptr; return 0; } attempts++; @@ -488,8 +484,6 @@ int Download::downloadThread(void *ptr) break; } - //d->mThread = nullptr; - if ((d->mOptions.cancel != 0u) || isTerminate == true) { // Nothing to do... -- cgit v1.2.3-70-g09d2