fix some uninitialized and incorrectly initialized variables

git-svn-id: svn://10.0.0.236/trunk@29664 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
alecf%netscape.com
1999-04-28 03:06:37 +00:00
parent 1405be0696
commit 0c8fa657d9
2 changed files with 2 additions and 2 deletions

View File

@@ -694,7 +694,7 @@ nsresult nsMailboxUrl::SetRef(const char *aNewRef)
nsresult nsMailboxUrl::GetHostPort(PRUint32 *result) const
{
NS_LOCK_INSTANCE();
*result = -1;
*result = 0xFFFFFFFF;
NS_UNLOCK_INSTANCE();
return NS_OK;
}

View File

@@ -933,7 +933,7 @@ nsresult nsParseMailMessageState::InternRfc822 (struct message_header *header,
char **ret_name)
{
char *s;
nsresult ret;
nsresult ret=NS_OK;
if (!header || header->length == 0)
return NS_OK;