nsTreeBodyFrame.cpp:1553: warning: suggest parentheses around && within ||

RESOLVED FIXED

Status

()

RESOLVED FIXED
9 years ago
9 years ago

People

(Reporter: dholbert, Assigned: dholbert)

Tracking

Trunk
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

9 years ago
Filing bug on this build warning:

../../../../../../../mozilla/layout/xul/base/src/tree/src/nsTreeBodyFrame.cpp: In member function ‘nsIAtom* nsTreeBodyFrame::GetItemWithinCellAt(nscoord, const nsRect&, PRInt32, nsTreeColumn*)’:
../../../../../../../mozilla/layout/xul/base/src/tree/src/nsTreeBodyFrame.cpp:1553: warning: suggest parentheses around && within ||
(Assignee)

Comment 1

9 years ago
Created attachment 449082 [details] [diff] [review]
trivial fix: just add the suggested parens

This patch just adds the parens that the warning suggests, for clarity. (no functional change)  This fixes the warning.
Assignee: nobody → dholbert
Status: NEW → ASSIGNED
Attachment #449082 - Flags: review?(ehsan)

Updated

9 years ago
Attachment #449082 - Flags: review?(ehsan) → review+
(Assignee)

Comment 2

9 years ago
http://hg.mozilla.org/mozilla-central/rev/ddd93345ad48
Status: ASSIGNED → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.