(From update of attachment 436199)
>+ if (NS_FAILED(exitCode))
>+ {
>+ m_foldersToStat.Clear();
>+ break;
>+ }
>+ if (m_foldersToStat.Count() > 0)
>+ m_foldersToStat[0]->UpdateStatus(this, nsnull);
Nit: could use else or could just leave out the break
(the compiler should notice that the count will be zero anyway)
(From update of attachment 436199) exitCode) ) .Clear( ); t.Count( ) > 0) [0]->UpdateStat us(this, nsnull);
>+ if (NS_FAILED(
>+ {
>+ m_foldersToStat
>+ break;
>+ }
>+ if (m_foldersToSta
>+ m_foldersToStat
Nit: could use else or could just leave out the break
(the compiler should notice that the count will be zero anyway)