]> git.saurik.com Git - apt.git/commitdiff
Warning tidy ups
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:57:14 +0000 (16:57 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:57:14 +0000 (16:57 +0000)
Author: jgg
Date: 2001-03-11 07:35:49 GMT
Warning tidy ups

apt-pkg/indexfile.h
apt-pkg/packagemanager.h
apt-pkg/pkgsystem.h

index d264a3aba736e0eea23a0c25d08fd2756964344e..06e5a7f355ff7694cf7ba7dc91f1d57c733f1456 100644 (file)
@@ -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() {};
index e46f8808b34397506b7c69ffb92846c517495342..454e90ff01b4c20424fd609244f5ca6b947ba479 100644 (file)
@@ -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() {};
    
index 7d0e42d1330a9367d6d48286e66bbde1c3affd2f..0f0a118089dd1412bcba04734b9d5832c29af177 100644 (file)
@@ -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() {};