diff options
Diffstat (limited to 'src/net/download.cpp')
-rw-r--r-- | src/net/download.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/net/download.cpp b/src/net/download.cpp index 38764d8e..dc928d56 100644 --- a/src/net/download.cpp +++ b/src/net/download.cpp @@ -63,13 +63,7 @@ Download::Download(void *ptr, const std::string &url, DownloadUpdate updateFunction): mPtr(ptr), mUrl(url), - mFileName(""), - mWriteFunction(nullptr), - mUpdateFunction(updateFunction), - mThread(nullptr), - mCurl(nullptr), - mHeaders(nullptr) - + mUpdateFunction(updateFunction) { mError = (char*) malloc(CURL_ERROR_SIZE); mError[0] = 0; |