diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:57:14 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:57:14 +0000 |
commit | db5c1b541994e1b6d9b64a44206002b726c42dbe (patch) | |
tree | 6d284d043ae661e479af021192658e5f03627e59 | |
parent | 6acc957ea66495a8f0fe8500f4fa00afa8780469 (diff) |
Warning tidy ups
Author: jgg
Date: 2001-03-11 07:35:49 GMT
Warning tidy ups
-rw-r--r-- | apt-pkg/indexfile.h | 8 | ||||
-rw-r--r-- | apt-pkg/packagemanager.h | 8 | ||||
-rw-r--r-- | apt-pkg/pkgsystem.h | 6 |
3 files changed, 11 insertions, 11 deletions
diff --git a/apt-pkg/indexfile.h b/apt-pkg/indexfile.h index d264a3aba..06e5a7f35 100644 --- a/apt-pkg/indexfile.h +++ b/apt-pkg/indexfile.h @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: indexfile.h,v 1.2 2001/02/20 07:03:17 jgg Exp $ +// $Id: indexfile.h,v 1.3 2001/03/11 07:35:49 jgg Exp $ /* ###################################################################### Index File - Abstraction for an index of archive/source file. @@ -48,7 +48,7 @@ class pkgIndexFile const char *Label; - virtual pkgRecords::Parser *CreatePkgParser(pkgCache::PkgFileIterator File) const {return 0;}; + virtual pkgRecords::Parser *CreatePkgParser(pkgCache::PkgFileIterator /*File*/) const {return 0;}; Type(); }; @@ -61,7 +61,7 @@ class pkgIndexFile virtual string Describe() const = 0; // Interface for acquire - virtual string ArchiveURI(string File) const {return string();}; + virtual string ArchiveURI(string /*File*/) const {return string();}; virtual bool GetIndexes(pkgAcquire *Owner) const; // Interface for the record parsers @@ -71,7 +71,7 @@ class pkgIndexFile virtual bool Exists() const = 0; virtual bool HasPackages() const = 0; virtual unsigned long Size() const = 0; - virtual bool Merge(pkgCacheGenerator &Gen,OpProgress &Prog) const {return false;}; + virtual bool Merge(pkgCacheGenerator &/*Gen*/,OpProgress &/*Prog*/) const {return false;}; virtual pkgCache::PkgFileIterator FindInCache(pkgCache &Cache) const; virtual ~pkgIndexFile() {}; diff --git a/apt-pkg/packagemanager.h b/apt-pkg/packagemanager.h index e46f8808b..454e90ff0 100644 --- a/apt-pkg/packagemanager.h +++ b/apt-pkg/packagemanager.h @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: packagemanager.h,v 1.11 2001/02/20 07:03:17 jgg Exp $ +// $Id: packagemanager.h,v 1.12 2001/03/11 07:35:49 jgg Exp $ /* ###################################################################### Package Manager - Abstacts the package manager @@ -63,9 +63,9 @@ class pkgPackageManager : protected pkgCache::Namespace bool EarlyRemove(PkgIterator Pkg); // The Actual installation implementation - virtual bool Install(PkgIterator Pkg,string File) {return false;}; - virtual bool Configure(PkgIterator Pkg) {return false;}; - virtual bool Remove(PkgIterator Pkg,bool Purge=false) {return false;}; + virtual bool Install(PkgIterator /*Pkg*/,string /*File*/) {return false;}; + virtual bool Configure(PkgIterator /*Pkg*/) {return false;}; + virtual bool Remove(PkgIterator /*Pkg*/,bool /*Purge*/=false) {return false;}; virtual bool Go() {return true;}; virtual void Reset() {}; diff --git a/apt-pkg/pkgsystem.h b/apt-pkg/pkgsystem.h index 7d0e42d13..0f0a11808 100644 --- a/apt-pkg/pkgsystem.h +++ b/apt-pkg/pkgsystem.h @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: pkgsystem.h,v 1.2 2001/02/20 07:03:17 jgg Exp $ +// $Id: pkgsystem.h,v 1.3 2001/03/11 07:35:49 jgg Exp $ /* ###################################################################### System - Abstraction for running on different systems. @@ -72,7 +72,7 @@ class pkgSystem /* Load environment specific configuration and perform any other setup necessary */ - virtual bool Initialize(Configuration &Cnf) {return true;}; + virtual bool Initialize(Configuration &/*Cnf*/) {return true;}; /* Type is some kind of Globally Unique way of differentiating archive file types.. */ @@ -83,7 +83,7 @@ class pkgSystem /* Evauluate how 'right' we are for this system based on the filesystem etc.. */ - virtual signed Score(Configuration const &Cnf) {return 0;}; + virtual signed Score(Configuration const &/*Cnf*/) {return 0;}; pkgSystem(); virtual ~pkgSystem() {}; |