warning: variable 'alternate' is used uninitialized whenever '||' condition is true

RESOLVED FIXED in mozilla27

Status

()

defect
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: heycam, Assigned: heycam)

Tracking

(Blocks 1 bug)

unspecified
mozilla27
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Posted patch patchSplinter Review
Clang warns me about |alternate| being uninitialized sometimes.
Attachment #806997 - Flags: review?(jdaggett)
Comment on attachment 806997 [details] [diff] [review]
patch

Yeah, sure.  That should never happen, hence the NS_NOTREACHED use but, whatever, gotta keep that compiler happy.
Attachment #806997 - Flags: review?(jdaggett) → review+
https://hg.mozilla.org/mozilla-central/rev/4e62723cac0f
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
You need to log in before you can comment on or make changes to this bug.