]> git.saurik.com Git - apt.git/commitdiff
i managed to commit broken code… which (at least in my mind) worked
authorDavid Kalnischkies <kalnischkies@gmail.com>
Mon, 31 May 2010 10:58:20 +0000 (12:58 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Mon, 31 May 2010 10:58:20 +0000 (12:58 +0200)
yesterday. Strange… anyway only small fixes.

cmdline/apt-cache.cc
ftparchive/writer.h

index 95f185b4fb825f971bbea1810a42c0fe3aa17e49..943a001a8bb52ff0e59821abe320b1a7b261004a 100644 (file)
@@ -1595,7 +1595,7 @@ bool Policy(CommandLine &CmdL)
    {
       pkgCache::PkgIterator Pkg = I.Group().FindPkg("any");
 
-      for (; Pkg.end() != true; Pkg = Grp.NextPkg(Pkg)) {
+      for (; Pkg.end() != true; Pkg = I.Group().NextPkg(Pkg)) {
       if (strcmp(Pkg.Arch(),"all") == 0)
         continue;
 
index c08ddea85b6664faf4649463db234c0306bc8ebd..49d430c474d0e632f2c833f909752539dd10556e 100644 (file)
@@ -72,7 +72,7 @@ class FTWScanner
    bool SetExts(string const &Vals);
       
    FTWScanner(string const &Arch = string());
-   virtual ~FTWScanner();
+   virtual ~FTWScanner() {};
 };
 
 class TranslationWriter