]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/dpkgpm.cc
Merge remote-tracking branch 'donkult/debian/sid' into debian/experimental
[apt.git] / apt-pkg / deb / dpkgpm.cc
index 32ef343aa44a35d9e2c7f6b7fd98eac66697ae93..76b7083595992a98962604845d63459bdaff1ad3 100644 (file)
@@ -1438,7 +1438,8 @@ bool pkgDPkgPM::GoNoABIBreak(APT::Progress::PackageManager *progress)
 
         if (_config->FindB("DPkg::FlushSTDIN",true) == true && isatty(STDIN_FILENO))
         {
-           int Flags,dummy;
+           int Flags;
+            int dummy = 0;
            if ((Flags = fcntl(STDIN_FILENO,F_GETFL,dummy)) < 0)
               _exit(100);