Closed Bug 227123 Opened 16 years ago Closed 16 years ago
empty tables can have a size
at least hixie thinks so, I will soon attach a patch.
Woudn't it be better to do the NS_UNCONSTRAINEDSIZE check _before_ doing any numerical comparisons on the value?
Comment on attachment 137743 [details] [diff] [review] patch rev2 r+sr=bzbarsky if you fix the indentation and remove all those extra parentheses.
I see the indentation but I wouldn't like to remove the parentheses. Thats the coding style that is all over used in this file. I like this coding style, as it frees me from thinking about precendence.
Precedence is never an issue when just dealing with boolean operators and == and !=... Feel free to keep the parens if that's the style of the file, I guess.
fix checked in
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.