|
@@ -588,13 +588,13 @@ pkgCache::PkgIterator CacheSetHelper::canNotFindPkgName(pkgCacheFile &Cache,
|
|
|
}
|
|
}
|
|
|
/*}}}*/
|
|
/*}}}*/
|
|
|
// canNotFindTask - handle the case no package is found for a task /*{{{*/
|
|
// canNotFindTask - handle the case no package is found for a task /*{{{*/
|
|
|
-void CacheSetHelper::canNotFindTask(PackageContainerInterface * const pci, pkgCacheFile &Cache, std::string pattern) {
|
|
|
|
|
|
|
+void CacheSetHelper::canNotFindTask(PackageContainerInterface * const /*pci*/, pkgCacheFile &/*Cache*/, std::string pattern) {
|
|
|
if (ShowError == true)
|
|
if (ShowError == true)
|
|
|
_error->Insert(ErrorType, _("Couldn't find task '%s'"), pattern.c_str());
|
|
_error->Insert(ErrorType, _("Couldn't find task '%s'"), pattern.c_str());
|
|
|
}
|
|
}
|
|
|
/*}}}*/
|
|
/*}}}*/
|
|
|
// canNotFindRegEx - handle the case no package is found by a regex /*{{{*/
|
|
// canNotFindRegEx - handle the case no package is found by a regex /*{{{*/
|
|
|
-void CacheSetHelper::canNotFindRegEx(PackageContainerInterface * const pci, pkgCacheFile &Cache, std::string pattern) {
|
|
|
|
|
|
|
+void CacheSetHelper::canNotFindRegEx(PackageContainerInterface * const /*pci*/, pkgCacheFile &/*Cache*/, std::string pattern) {
|
|
|
if (ShowError == true)
|
|
if (ShowError == true)
|
|
|
_error->Insert(ErrorType, _("Couldn't find any package by regex '%s'"), pattern.c_str());
|
|
_error->Insert(ErrorType, _("Couldn't find any package by regex '%s'"), pattern.c_str());
|
|
|
}
|
|
}
|
|
@@ -606,25 +606,25 @@ void CacheSetHelper::canNotFindFnmatch(PackageContainerInterface * const pci, pk
|
|
|
}
|
|
}
|
|
|
#endif /*}}}*/
|
|
#endif /*}}}*/
|
|
|
// canNotFindPackage - handle the case no package is found from a string/*{{{*/
|
|
// canNotFindPackage - handle the case no package is found from a string/*{{{*/
|
|
|
-void CacheSetHelper::canNotFindPackage(PackageContainerInterface * const pci, pkgCacheFile &Cache, std::string const &str) {
|
|
|
|
|
|
|
+void CacheSetHelper::canNotFindPackage(PackageContainerInterface * const /*pci*/, pkgCacheFile &/*Cache*/, std::string const &/*str*/) {
|
|
|
}
|
|
}
|
|
|
/*}}}*/
|
|
/*}}}*/
|
|
|
// canNotFindAllVer /*{{{*/
|
|
// canNotFindAllVer /*{{{*/
|
|
|
-void CacheSetHelper::canNotFindAllVer(VersionContainerInterface * const vci, pkgCacheFile &Cache,
|
|
|
|
|
|
|
+void CacheSetHelper::canNotFindAllVer(VersionContainerInterface * const /*vci*/, pkgCacheFile &/*Cache*/,
|
|
|
pkgCache::PkgIterator const &Pkg) {
|
|
pkgCache::PkgIterator const &Pkg) {
|
|
|
if (ShowError == true)
|
|
if (ShowError == true)
|
|
|
_error->Insert(ErrorType, _("Can't select versions from package '%s' as it is purely virtual"), Pkg.FullName(true).c_str());
|
|
_error->Insert(ErrorType, _("Can't select versions from package '%s' as it is purely virtual"), Pkg.FullName(true).c_str());
|
|
|
}
|
|
}
|
|
|
/*}}}*/
|
|
/*}}}*/
|
|
|
// canNotFindInstCandVer /*{{{*/
|
|
// canNotFindInstCandVer /*{{{*/
|
|
|
-void CacheSetHelper::canNotFindInstCandVer(VersionContainerInterface * const vci, pkgCacheFile &Cache,
|
|
|
|
|
|
|
+void CacheSetHelper::canNotFindInstCandVer(VersionContainerInterface * const /*vci*/, pkgCacheFile &/*Cache*/,
|
|
|
pkgCache::PkgIterator const &Pkg) {
|
|
pkgCache::PkgIterator const &Pkg) {
|
|
|
if (ShowError == true)
|
|
if (ShowError == true)
|
|
|
_error->Insert(ErrorType, _("Can't select installed nor candidate version from package '%s' as it has neither of them"), Pkg.FullName(true).c_str());
|
|
_error->Insert(ErrorType, _("Can't select installed nor candidate version from package '%s' as it has neither of them"), Pkg.FullName(true).c_str());
|
|
|
}
|
|
}
|
|
|
/*}}}*/
|
|
/*}}}*/
|
|
|
// canNotFindInstCandVer /*{{{*/
|
|
// canNotFindInstCandVer /*{{{*/
|
|
|
-void CacheSetHelper::canNotFindCandInstVer(VersionContainerInterface * const vci, pkgCacheFile &Cache,
|
|
|
|
|
|
|
+void CacheSetHelper::canNotFindCandInstVer(VersionContainerInterface * const /*vci*/, pkgCacheFile &/*Cache*/,
|
|
|
pkgCache::PkgIterator const &Pkg) {
|
|
pkgCache::PkgIterator const &Pkg) {
|
|
|
if (ShowError == true)
|
|
if (ShowError == true)
|
|
|
_error->Insert(ErrorType, _("Can't select installed nor candidate version from package '%s' as it has neither of them"), Pkg.FullName(true).c_str());
|
|
_error->Insert(ErrorType, _("Can't select installed nor candidate version from package '%s' as it has neither of them"), Pkg.FullName(true).c_str());
|
|
@@ -655,13 +655,13 @@ pkgCache::VerIterator CacheSetHelper::canNotFindInstalledVer(pkgCacheFile &Cache
|
|
|
}
|
|
}
|
|
|
/*}}}*/
|
|
/*}}}*/
|
|
|
// showTaskSelection /*{{{*/
|
|
// showTaskSelection /*{{{*/
|
|
|
-void CacheSetHelper::showTaskSelection(pkgCache::PkgIterator const &pkg,
|
|
|
|
|
- std::string const &pattern) {
|
|
|
|
|
|
|
+void CacheSetHelper::showTaskSelection(pkgCache::PkgIterator const &/*pkg*/,
|
|
|
|
|
+ std::string const &/*pattern*/) {
|
|
|
}
|
|
}
|
|
|
/*}}}*/
|
|
/*}}}*/
|
|
|
// showRegExSelection /*{{{*/
|
|
// showRegExSelection /*{{{*/
|
|
|
-void CacheSetHelper::showRegExSelection(pkgCache::PkgIterator const &pkg,
|
|
|
|
|
- std::string const &pattern) {
|
|
|
|
|
|
|
+void CacheSetHelper::showRegExSelection(pkgCache::PkgIterator const &/*pkg*/,
|
|
|
|
|
+ std::string const &/*pattern*/) {
|
|
|
}
|
|
}
|
|
|
/*}}}*/
|
|
/*}}}*/
|
|
|
#if (APT_PKG_MAJOR >= 4 && APT_PKG_MINOR >= 13)
|
|
#if (APT_PKG_MAJOR >= 4 && APT_PKG_MINOR >= 13)
|
|
@@ -672,10 +672,10 @@ void CacheSetHelper::showFnmatchSelection(pkgCache::PkgIterator const &pkg,
|
|
|
/*}}}*/
|
|
/*}}}*/
|
|
|
#endif
|
|
#endif
|
|
|
// showSelectedVersion /*{{{*/
|
|
// showSelectedVersion /*{{{*/
|
|
|
-void CacheSetHelper::showSelectedVersion(pkgCache::PkgIterator const &Pkg,
|
|
|
|
|
- pkgCache::VerIterator const Ver,
|
|
|
|
|
- std::string const &ver,
|
|
|
|
|
- bool const verIsRel) {
|
|
|
|
|
|
|
+void CacheSetHelper::showSelectedVersion(pkgCache::PkgIterator const &/*Pkg*/,
|
|
|
|
|
+ pkgCache::VerIterator const /*Ver*/,
|
|
|
|
|
+ std::string const &/*ver*/,
|
|
|
|
|
+ bool const /*verIsRel*/) {
|
|
|
}
|
|
}
|
|
|
/*}}}*/
|
|
/*}}}*/
|
|
|
}
|
|
}
|