]> git.saurik.com Git - apt.git/blobdiff - methods/https.h
fix: Member variable 'X' is not initialized in the constructor.
[apt.git] / methods / https.h
index faac8a3cdae8c247b103e44baaec5146d5d02fe3..45d1f7f63a94858731e3659fa0742e8fc0ec3622 100644 (file)
@@ -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();
    };