summaryrefslogtreecommitdiff
path: root/methods/https.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2014-09-26 22:16:26 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2014-09-27 00:11:11 +0200
commit25613a61f6f3b9e54d5229af7e2278d0fa54bdd9 (patch)
tree3da25906f95db69e30408548a7e6f3ad12ce6bdc /methods/https.h
parentc029a8368d0f90d749ccba73fc9afe46e77d8b2f (diff)
fix: Member variable 'X' is not initialized in the constructor.
Reported-By: cppcheck Git-Dch: Ignore
Diffstat (limited to 'methods/https.h')
-rw-r--r--methods/https.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/methods/https.h b/methods/https.h
index faac8a3cd..45d1f7f63 100644
--- a/methods/https.h
+++ b/methods/https.h
@@ -69,10 +69,9 @@ class HttpsMethod : public pkgAcqMethod
public:
FileFd *File;
-
- HttpsMethod() : pkgAcqMethod("1.2",Pipeline | SendConfig), File(NULL)
+
+ HttpsMethod() : pkgAcqMethod("1.2",Pipeline | SendConfig), Server(NULL), File(NULL)
{
- File = 0;
curl = curl_easy_init();
};