]> git.saurik.com Git - apt.git/blobdiff - apt-inst/dirstream.cc
Do not allow going from authenticated to unauthenticated repo
[apt.git] / apt-inst / dirstream.cc
index e06c30a572d7c852adca4fc39d0b24c16cf1d754..39ebb3bb4433699f8e7ec6c6f25e4f004c0c7986 100644 (file)
@@ -18,7 +18,6 @@
 
 #include <fcntl.h>
 #include <sys/stat.h>
-#include <sys/types.h>
 #include <sys/time.h>
 #include <errno.h>
 #include <unistd.h>
@@ -110,7 +109,7 @@ bool pkgDirStream::FinishedFile(Item &Itm,int Fd)
 // DirStream::Fail - Failed processing a file                          /*{{{*/
 // ---------------------------------------------------------------------
 /* */
-bool pkgDirStream::Fail(Item &Itm,int Fd)
+bool pkgDirStream::Fail(Item &/*Itm*/, int Fd)
 {
    if (Fd < 0)
       return true;