mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-24 21:58:06 +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)
|
nodeIndex > 0 && aSet[nodeIndex]->mURI == aSet[nodeIndex-1]->mURI)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
PRInt64 parentId = -1;
|
if (aSet[nodeIndex]->mItemId != -1 && aQueryNode &&
|
||||||
if (aSet[nodeIndex]->mItemId != -1) {
|
aQueryNode->mItemId == aSet[nodeIndex]->mItemId) {
|
||||||
if (aQueryNode && aQueryNode->mItemId == aSet[nodeIndex]->mItemId)
|
continue;
|
||||||
continue;
|
|
||||||
parentId = aSet[nodeIndex]->mFolderId;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Append the node only if it matches one of the queries.
|
// Append the node only if it matches one of the queries.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user