зеркало из https://github.com/mozilla/pjs.git
fix warning, add a comment. piggybacking on our carpool.
r/sr=no one
This commit is contained in:
Родитель
62b3fe465a
Коммит
a75636ef3f
|
@ -939,7 +939,7 @@ nsMsgFolderDataSource::OnItemPropertyFlagChanged(nsISupports *item,
|
|||
PRUint32 oldFlag,
|
||||
PRUint32 newFlag)
|
||||
{
|
||||
nsresult rv;
|
||||
nsresult rv = NS_OK;
|
||||
|
||||
if (kBiffStateAtom == property) {
|
||||
// for Incoming biff (to turn it on) the item is of type nsIFolder (see nsMsgFolder::SetBiffState)
|
||||
|
|
|
@ -202,6 +202,8 @@ nsMsgQuote::QuoteMessage(const char *msgURI, PRBool quoteHeaders, nsIStreamListe
|
|||
nsCOMPtr <nsIMsgMailNewsUrl> mailNewsUrl = do_QueryInterface(aURL, &rv);
|
||||
NS_ENSURE_SUCCESS(rv,rv);
|
||||
|
||||
// SetQuery is safe to use here, as the msgURI that we used for SetSpec()
|
||||
// does not already have a query.
|
||||
if (! bAutoQuote) /* We don't need to quote the message body but we still need to extract the headers */
|
||||
rv = mailNewsUrl->SetQuery("header=only");
|
||||
else if (quoteHeaders)
|
||||
|
|
Загрузка…
Ссылка в новой задаче