]> git.saurik.com Git - apt-legacy.git/blobdiff - apt-pkg/tagfile.cc
I feel... vindicated?
[apt-legacy.git] / apt-pkg / tagfile.cc
index de73c53932abfac73ebc5c3de669fcd8f7f59e3a..7ef5df38e808ab5f03ebb957bf23ddc63a738612 100644 (file)
@@ -32,6 +32,7 @@ pkgTagFile::pkgTagFile(FileFd *pFd,unsigned long Size) :
 {
    if (Fd.IsOpen() == false || Fd.Size() == 0)
    {
+      _error->Discard();
       Map = NULL;
       Buffer = 0;
       Start = End = Buffer = 0;