From db5c1b541994e1b6d9b64a44206002b726c42dbe Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:57:14 +0000 Subject: Warning tidy ups Author: jgg Date: 2001-03-11 07:35:49 GMT Warning tidy ups --- apt-pkg/indexfile.h | 8 ++++---- apt-pkg/packagemanager.h | 8 ++++---- apt-pkg/pkgsystem.h | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) (limited to 'apt-pkg') 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() {}; -- cgit v1.2.3