Last Comment Bug 782853 - Fix sometimes unitialized warning on nsGUIEventIPC.h
: Fix sometimes unitialized warning on nsGUIEventIPC.h
: regression
Product: Core
Classification: Components
Component: Widget (show other bugs)
: Trunk
: All All
-- normal (vote)
: mozilla17
Assigned To: Reuben Morais [:reuben]
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:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

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

Description User image 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 User image Masayuki Nakano [:masayuki] 2012-08-14 19:08:47 PDT
Comment 2 User image Masayuki Nakano [:masayuki] 2012-08-15 06:33:50 PDT
Comment 3 User image Ryan VanderMeulen [:RyanVM] 2012-08-15 18:46:50 PDT

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