Last Comment Bug 782853 - Fix sometimes unitialized warning on nsGUIEventIPC.h
: Fix sometimes unitialized warning on nsGUIEventIPC.h
Status: RESOLVED FIXED
: regression
Product: Core
Classification: Components
Component: Widget (show other bugs)
: Trunk
: All All
: -- normal (vote)
: mozilla17
Assigned To: Reuben Morais [:reuben]
:
Mentors:
Depends on:
Blocks: 719320
  Show dependency treegraph
 
Reported: 2012-08-14 17:51 PDT by Reuben Morais [:reuben]
Modified: 2012-08-15 18:46 PDT (History)
2 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Initialize scrollType (1.10 KB, patch)
2012-08-14 17:51 PDT, Reuben Morais [:reuben]
bugs: review+
Details | Diff | Splinter Review

Description Reuben Morais [:reuben] 2012-08-14 17:51:33 PDT
Created attachment 651953 [details] [diff] [review]
Initialize scrollType

On the Read method of the ParamTraits template specialization for WheelEvent, scrollType is used unitialized if the preceding expression evaluates to true. That file is included in several others, generating *a lot* of warnings on recent Clang versions.
Comment 1 Masayuki Nakano [:masayuki] (Mozilla Japan) 2012-08-14 19:08:47 PDT
Thanks!
Comment 2 Masayuki Nakano [:masayuki] (Mozilla Japan) 2012-08-15 06:33:50 PDT
https://hg.mozilla.org/integration/mozilla-inbound/rev/0b26e7597f31
Comment 3 Ryan VanderMeulen [:RyanVM] 2012-08-15 18:46:50 PDT
https://hg.mozilla.org/mozilla-central/rev/0b26e7597f31

Note You need to log in before you can comment on or make changes to this bug.