mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-07 11:56:51 +00:00
reorder to quiet compiler. stop shadowing. rename shadowed variable.
This commit is contained in:
parent
2d4b4ba111
commit
b2a57704f6
@ -46,12 +46,13 @@ nsMsgFolder::nsMsgFolder(void)
|
||||
: nsRDFResource(),
|
||||
mName(""),
|
||||
mFlags(0),
|
||||
mNumUnreadMessages(0), mNumTotalMessages(0),
|
||||
mParent(nsnull),
|
||||
mNumUnreadMessages(0),
|
||||
mNumTotalMessages(0),
|
||||
mCsid(0),
|
||||
mDepth(0),
|
||||
mPrefFlags(0),
|
||||
mParent(nsnull)
|
||||
{
|
||||
mPrefFlags(0)
|
||||
{
|
||||
// NS_INIT_REFCNT(); done by superclass
|
||||
|
||||
|
||||
@ -899,10 +900,10 @@ NS_IMETHODIMP nsMsgFolder::GetExpansionArray(nsISupportsArray *expansionArray)
|
||||
nsCOMPtr<nsIMsgFolder> folder = do_QueryInterface(supports, &rv);
|
||||
if(NS_SUCCEEDED(rv))
|
||||
{
|
||||
PRUint32 cnt;
|
||||
nsresult rv = expansionArray->Count(&cnt);
|
||||
PRUint32 cnt2;
|
||||
rv = expansionArray->Count(&cnt2);
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
expansionArray->InsertElementAt(folder, cnt);
|
||||
expansionArray->InsertElementAt(folder, cnt2);
|
||||
PRUint32 flags;
|
||||
folder->GetFlags(&flags);
|
||||
if (!(flags & MSG_FOLDER_FLAG_ELIDED))
|
||||
|
Loading…
Reference in New Issue
Block a user