From: Michael Vogt Date: Thu, 9 Jun 2011 11:30:08 +0000 (+0200) Subject: apt-pkg/deb/debindexfile.cc: kill off another TranslationsAvailable() usage that... X-Git-Tag: 0.8.15~3^2~2 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/e4d30d3fdc11a5af7fb04b5f6bb65e5f47f76810?ds=sidebyside;hp=--cc apt-pkg/deb/debindexfile.cc: kill off another TranslationsAvailable() usage that is not needed --- e4d30d3fdc11a5af7fb04b5f6bb65e5f47f76810 diff --git a/apt-pkg/deb/debindexfile.cc b/apt-pkg/deb/debindexfile.cc index 1d828c144..c9e7f1176 100644 --- a/apt-pkg/deb/debindexfile.cc +++ b/apt-pkg/deb/debindexfile.cc @@ -423,12 +423,10 @@ string debTranslationsIndex::IndexURI(const char *Type) const /* */ bool debTranslationsIndex::GetIndexes(pkgAcquire *Owner) const { - if (TranslationsAvailable()) { - string const TranslationFile = string("Translation-").append(Language); - new pkgAcqIndexTrans(Owner, IndexURI(Language), - Info(TranslationFile.c_str()), - TranslationFile); - } + string const TranslationFile = string("Translation-").append(Language); + new pkgAcqIndexTrans(Owner, IndexURI(Language), + Info(TranslationFile.c_str()), + TranslationFile); return true; }