mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-24 13:52:37 +00:00
Bug 736541: Remove unused variable 'parentId' from nsNavHistory.cpp to fix build warning. r=mak
This commit is contained in:
parent
b875233d85
commit
8c0c6ddc30
@ -4418,11 +4418,9 @@ nsNavHistory::FilterResultSet(nsNavHistoryQueryResultNode* aQueryNode,
|
||||
nodeIndex > 0 && aSet[nodeIndex]->mURI == aSet[nodeIndex-1]->mURI)
|
||||
continue;
|
||||
|
||||
PRInt64 parentId = -1;
|
||||
if (aSet[nodeIndex]->mItemId != -1) {
|
||||
if (aQueryNode && aQueryNode->mItemId == aSet[nodeIndex]->mItemId)
|
||||
continue;
|
||||
parentId = aSet[nodeIndex]->mFolderId;
|
||||
if (aSet[nodeIndex]->mItemId != -1 && aQueryNode &&
|
||||
aQueryNode->mItemId == aSet[nodeIndex]->mItemId) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Append the node only if it matches one of the queries.
|
||||
|
Loading…
x
Reference in New Issue
Block a user