Closed
Bug 122326
Opened 23 years ago
Closed 23 years ago
nsCSSDeclaration.h:625: warning: comparison is always true due to limited range of data type
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 126667
People
(Reporter: bbaetz, Assigned: blythe)
References
()
Details
The assertion checks if an unsigned number is >=0. This is always true, so gcc emits a warning (this is a -O2 debug build; you may not see the warning w/o optimisation enabled) Assigning to blythe based on cvs blame, but it was a new file, so could be someone else. I get one of these for each file which includes this header, and its annoying ;) In any case, the assertion is redundant. Suggested fix: Remove that line.
Assignee | ||
Comment 1•23 years ago
|
||
yup, my fault. thx, compiling on linux for me doesn't usually happen in realtime so I missed these warnings.
Status: NEW → ASSIGNED
*** This bug has been marked as a duplicate of 126667 ***
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•