Closed Bug 1573833 Opened 5 years ago Closed 5 years ago

-Wparentheses on MoofParser.cpp

Categories

(Core :: Audio/Video: Playback, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: Sylvestre, Assigned: Sylvestre)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

&' will be evaluated first [-Werror,-Wparentheses]
               ? decodeOffset.unwrap() + offsetOffset.unwrap()
               ^
 /home/sylvestre/dev/mozilla/mozilla-central.hg/dom/media/mp4/MoofParser.cpp:524:15: note: place parentheses around the '&' expression to 
silence this warning
               ? decodeOffset.unwrap() + offsetOffset.unwrap()
               ^
  /home/sylvestre/dev/mozilla/mozilla-central.hg/dom/media/mp4/MoofParser.cpp:524:15: note: place parentheses around the '?:' expression to
 evaluate it first
                ? decodeOffset.unwrap() + offsetOffset.unwrap()
                ^
Status: NEW → ASSIGNED
Priority: -- → P3
Attachment #9085445 - Attachment description: Bug 1573833 - Add missing parentheses to silent a clang warning r?jya → Bug 1573833 - Add missing & and parentheses r?jya
Pushed by sledru@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a550b308d88a
Add missing & and parentheses r=pehrsons
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: