Fix build warning. Bug 225570.

This commit is contained in:
bzbarsky%mit.edu 2004-02-09 09:10:24 +00:00
Родитель 2eae210475
Коммит 6a87d2ba3e
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -3317,7 +3317,7 @@ nsMsgCompose::BuildQuotedMessageAndSignature(void)
nsresult
nsMsgCompose::ProcessSignature(nsIMsgIdentity *identity, PRBool aQuoted, nsString *aMsgBody)
{
nsresult rv;
nsresult rv = NS_OK;
// Now, we can get sort of fancy. This is the time we need to check
// for all sorts of user defined stuff, like signatures and editor
@ -3382,7 +3382,7 @@ nsMsgCompose::ProcessSignature(nsIMsgIdentity *identity, PRBool aQuoted, nsStrin
// Now, if they didn't even want to use a signature, we should
// just return nicely.
//
if ((!useSigFile) || NS_FAILED(rv))
if (!useSigFile || NS_FAILED(rv))
return NS_OK;
nsFileSpec testSpec(sigNativePath.get());