[devel] [PATCH for apt 01/38] Replace post-increments with pre-increments
Alexey Tourbin
alexey.tourbin на gmail.com
Вт Дек 10 21:21:37 MSK 2019
On Tue, Dec 10, 2019 at 6:25 PM Aleksei Nikiforov
<darktemplar на altlinux.org> wrote:
> +++ b/apt/apt-pkg/acquire-item.cc
> @@ -486,7 +486,7 @@ void pkgAcqIndexRel::Done(const string &Message,unsigned long long Size,const st
>
> bool found = false;
> for (vector<string>::const_iterator I = Repository->FingerPrint.begin();
> - I != Repository->FingerPrint.end(); I++)
> + I != Repository->FingerPrint.end(); ++I)
> {
> // Match fingerprint of Release file
> if ((*I) == FingerPrint)
How does that fix anything? It doesn't! Avoid unnecessary changes,
only make those beaming with thought. As Pouchkine wrote, "strashisya
uchasti bessmyslennykh pevtsov".
Подробная информация о списке рассылки Devel