summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-07 23:22:40 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-07 23:22:40 +0300
commit968a7fb3175767908dcbb16756db2226acc9acdc (patch)
tree71793ce7287502536719df33d986533913557da0
parentceb94030cb81b69a364e8492f7066ab898f74876 (diff)
downloadmv-968a7fb3175767908dcbb16756db2226acc9acdc.tar.gz
mv-968a7fb3175767908dcbb16756db2226acc9acdc.tar.bz2
mv-968a7fb3175767908dcbb16756db2226acc9acdc.tar.xz
mv-968a7fb3175767908dcbb16756db2226acc9acdc.zip
Remove commented code from 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...