Closed Bug 1022699 Opened 10 years ago Closed 10 years ago

fix assertion-is-always-true warning in nsNavHistoryResult.cpp

Categories

(Toolkit :: Places, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 992670

People

(Reporter: froydnj, Unassigned)

Details

Attachments

(1 file)

No description provided.
mAccessCount is an unsigned variable, so this assertion receives a warning. Given that it's unsigned, it seems more correct to test that we didn't subtract off too much.
Attachment #8436987 - Flags: review?(mak77)
we should just comment out the assertion for now, see bug 992670 that already had a patch to make the assertion test what it actually was meant to, but it bounced. Unfortunately there is a bug somewhere in the code that makes us hit the assertion in some specific case (I think it's related to tag containers), and we need to figure what's that bug. The patch in bug 992670 partially solves some of the issues, but not all of them.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Comment on attachment 8436987 [details] [diff] [review] fix assertion-is-always-true warning in nsNavHistoryResult.cpp I will just disable the assertion in bug 992670 and file a bug to fix it.
Attachment #8436987 - Flags: review?(mak77)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: