Skip to content

Commit

Permalink
Bug 1290015 - [Static Analysis][Uninitialized scalar field] In constr…
Browse files Browse the repository at this point in the history
…uctor SizeSpec(). r=jst
  • Loading branch information
paro- committed Jul 27, 2016
1 parent b4cfc16 commit 82c951f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion embedding/components/windowwatcher/nsWindowWatcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,13 @@ nsWindowWatcher::OpenWindow(mozIDOMWindowProxy* aParent,
struct SizeSpec
{
SizeSpec()
: mLeftSpecified(false)
: mLeft(0)
, mTop(0)
, mOuterWidth(0)
, mOuterHeight(0)
, mInnerWidth(0)
, mInnerHeight(0)
, mLeftSpecified(false)
, mTopSpecified(false)
, mOuterWidthSpecified(false)
, mOuterHeightSpecified(false)
Expand Down

0 comments on commit 82c951f

Please sign in to comment.