fix warning

This commit is contained in:
sspitzer%netscape.com 1999-06-24 20:23:48 +00:00
parent 483cc17e79
commit 8c70073206
2 changed files with 3 additions and 2 deletions

View File

@ -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;
}

View File

@ -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!!!