Closed Bug 918156 Opened 7 years ago Closed 7 years ago

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

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla27

People

(Reporter: heycam, Assigned: heycam)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached 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: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
You need to log in before you can comment on or make changes to this bug.