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:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user