зеркало из https://github.com/mozilla/gecko-dev.git
fix some uninitialized and incorrectly initialized variables
This commit is contained in:
Родитель
8319d9b381
Коммит
c14a5e0f1b
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче