浏览代码

fix warnings

Michael Vogt 11 年之前
父节点
当前提交
0be13f1c8a
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      apt-pkg/acquire-item.cc

+ 3 - 3
apt-pkg/acquire-item.cc

@@ -2021,7 +2021,7 @@ bool pkgAcqMetaBase::VerifyVendor(string Message, const string &RealURI)/*{{{*/
 // pkgAcqMetaIndex::Failed - no Release file present            	/*{{{*/
 // pkgAcqMetaIndex::Failed - no Release file present            	/*{{{*/
 // ---------------------------------------------------------------------
 // ---------------------------------------------------------------------
 /* */
 /* */
-void pkgAcqMetaIndex::Failed(string Message,
+void pkgAcqMetaIndex::Failed(string /*Message*/,
                              pkgAcquire::MethodConfig * /*Cnf*/)
                              pkgAcquire::MethodConfig * /*Cnf*/)
 {
 {
    string FinalFile = _config->FindDir("Dir::State::lists") + URItoFileName(RealURI);
    string FinalFile = _config->FindDir("Dir::State::lists") + URItoFileName(RealURI);
@@ -2099,8 +2099,8 @@ string pkgAcqMetaClearSig::Custom600Headers() const
 									/*}}}*/
 									/*}}}*/
 // pkgAcqMetaClearSig::Done - We got a file                     	/*{{{*/
 // pkgAcqMetaClearSig::Done - We got a file                     	/*{{{*/
 // ---------------------------------------------------------------------
 // ---------------------------------------------------------------------
-void pkgAcqMetaClearSig::Done(std::string Message,unsigned long long Size, 
-                              HashStringList const &Hashes,
+void pkgAcqMetaClearSig::Done(std::string Message,unsigned long long /*Size*/,
+                              HashStringList const &/*Hashes*/,
                               pkgAcquire::MethodConfig *Cnf)
                               pkgAcquire::MethodConfig *Cnf)
 {
 {
    // if we expect a ClearTextSignature (InRelase), ensure that
    // if we expect a ClearTextSignature (InRelase), ensure that