]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/fileutl.cc
fix: Member variable 'X' is not initialized in the constructor.
[apt.git] / apt-pkg / contrib / fileutl.cc
index e81f32a522755407938dc95f9c82c4cae8e80030..9e77020636f4ab5987370d68529800ff7820526e 100644 (file)
@@ -896,7 +896,7 @@ class FileFdPrivate {                                                       /*{{{*/
           bool eof;
           bool compressing;
 
-          LZMAFILE() : file(NULL), eof(false), compressing(false) {}
+          LZMAFILE() : file(NULL), eof(false), compressing(false) { buffer[0] = '\0'; }
           ~LZMAFILE() {
              if (compressing == true)
              {