summaryrefslogtreecommitdiff
path: root/src/net/download.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/download.cpp')
-rw-r--r--src/net/download.cpp6
1 files changed, 0 insertions, 6 deletions
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...