summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2010-05-31 12:58:20 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2010-05-31 12:58:20 +0200
commit4c265635a8417b857a3a8f537c74313d5533da9b (patch)
tree3820c367b218c36b3199fe15f3483e3780e02863
parent78c325968642255fd2325003f19729b617477666 (diff)
i managed to commit broken code… which (at least in my mind) worked
yesterday. Strange… anyway only small fixes.
-rw-r--r--cmdline/apt-cache.cc2
-rw-r--r--ftparchive/writer.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmdline/apt-cache.cc b/cmdline/apt-cache.cc
index 95f185b4f..943a001a8 100644
--- a/cmdline/apt-cache.cc
+++ b/cmdline/apt-cache.cc
@@ -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;
diff --git a/ftparchive/writer.h b/ftparchive/writer.h
index c08ddea85..49d430c47 100644
--- a/ftparchive/writer.h
+++ b/ftparchive/writer.h
@@ -72,7 +72,7 @@ class FTWScanner
bool SetExts(string const &Vals);
FTWScanner(string const &Arch = string());
- virtual ~FTWScanner();
+ virtual ~FTWScanner() {};
};
class TranslationWriter