Browse Source

Warning tidy ups

Author: jgg
Date: 2001-03-11 07:35:49 GMT
Warning tidy ups
debian/1.8.y
Arch Librarian 18 years ago
parent
commit
db5c1b5419
  1. 8
      apt-pkg/indexfile.h
  2. 8
      apt-pkg/packagemanager.h
  3. 6
      apt-pkg/pkgsystem.h

8
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() {};

8
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() {};

6
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() {};

Loading…
Cancel
Save