mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 21:00:50 +00:00
fix warning
This commit is contained in:
parent
483cc17e79
commit
8c70073206
@ -933,7 +933,8 @@ NS_IMETHODIMP nsAddrDBEnumerator::CurrentItem(nsISupports **aItem)
|
||||
if (mCurrentRow)
|
||||
{
|
||||
nsCOMPtr<nsIAbCard> temp = mResultCard;
|
||||
nsresult rv = mDB->CreateABCard(mCurrentRow, getter_AddRefs(mResultCard));
|
||||
nsresult rv;
|
||||
rv = mDB->CreateABCard(mCurrentRow, getter_AddRefs(mResultCard));
|
||||
*aItem = mResultCard;
|
||||
return NS_OK;
|
||||
}
|
||||
|
@ -116,7 +116,7 @@ nsresult nsMimeEmitterFactory::CreateInstance(nsISupports *aOuter,
|
||||
|
||||
*aResult = NULL;
|
||||
|
||||
nsISupports *inst = nsnull;
|
||||
//nsISupports *inst = nsnull;
|
||||
|
||||
// ClassID check happens here
|
||||
// Whenever you add a new class that supports an interface, plug it in here!!!
|
||||
|
Loading…
x
Reference in New Issue
Block a user