From 0af6b707b9e4af86a9caf54a336c0bb7429cfa58 Mon Sep 17 00:00:00 2001 From: "sspitzer%netscape.com" Date: Fri, 30 Nov 2001 03:08:38 +0000 Subject: [PATCH] fix build bustage on mac. --- mailnews/news/src/nsNNTPArticleList.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mailnews/news/src/nsNNTPArticleList.cpp b/mailnews/news/src/nsNNTPArticleList.cpp index 23c859e62b3..b20f63a95ea 100644 --- a/mailnews/news/src/nsNNTPArticleList.cpp +++ b/mailnews/news/src/nsNNTPArticleList.cpp @@ -117,7 +117,9 @@ nsNNTPArticleList::FinishAddingArticleKeys() // if the last n messages in the group are cancelled, they won't have gotten removed // so we have to go an removed them now. PRUint32 totalCount = m_idsInDB.GetSize(); - for (PRUint32 i = m_dbIndex; i < totalCount; i++) { + PRUint32 i; + + for (i = m_dbIndex; i < totalCount; i++) { m_newsFolder->RemoveMessage(m_idsInDB.GetAt(i)); #ifdef DEBUG m_idsDeleted.Add(m_idsInDB.GetAt(i));