Fix build warning. Bug 225570.

This commit is contained in:
bzbarsky%mit.edu 2004-02-09 09:10:24 +00:00
parent 3b59d97939
commit 451a8552f4

View File

@ -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());