Skip to content

Commit

Permalink
Bug 1361591 - Coverity report: nsMathMLmspaceFrame:nsMathMLmspaceFram…
Browse files Browse the repository at this point in the history
…e(nsStyleContext *): A scalar field is not initialized by the constructor. r=karlt
  • Loading branch information
fred-wang committed May 6, 2017
1 parent e6565da commit b46061f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion layout/mathml/nsMathMLmspaceFrame.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ class nsMathMLmspaceFrame : public nsMathMLContainerFrame {
nsReflowStatus& aStatus) override;

protected:
explicit nsMathMLmspaceFrame(nsStyleContext* aContext) : nsMathMLContainerFrame(aContext) {}
explicit nsMathMLmspaceFrame(nsStyleContext* aContext) :
nsMathMLContainerFrame(aContext), mWidth(0), mHeight(0), mDepth(0) {}
virtual ~nsMathMLmspaceFrame();

virtual nsresult
Expand Down

0 comments on commit b46061f

Please sign in to comment.