Closed Bug 1393542 Opened 8 years ago Closed 1 year ago

firefox-55.0.2/media/gmp-clearkey/0.1/WMFUtils.h: 56: missing return statement ?

Categories

(Core :: Audio/Video: GMP, defect, P2)

54 Branch
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: dcb314, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 Build ID: 20170613080647 Steps to reproduce: firefox-55.0.2/media/gmp-clearkey/0.1/WMFUtils.h:56]: (error) No 'return' statement in non-void function causes undefined behavior. Source code is CComPtr& operator=(CComPtr&& other) { mPtr = other.Detach(); } I am surprised that compiles. Suggest code rework.
Component: Untriaged → Audio/Video: GMP
Product: Firefox → Core
Status: UNCONFIRMED → NEW
Rank: 15
Ever confirmed: true
Priority: -- → P1
Mass change P1->P2 to align with new Mozilla triage process
Priority: P1 → P2
Severity: normal → S3
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.