From 47c9e6d1a151c7c8b0649712a91e04f12177b7b9 Mon Sep 17 00:00:00 2001 From: Henrique Nakashima Date: Mon, 31 Jul 2017 15:27:21 -0400 Subject: Initialize CPDF_PathObject members on constructor. Bug: pdfium:839 Change-Id: I3a069bf7d8a75f32cf9bcc9e9926ad19aa006795 Reviewed-on: https://pdfium-review.googlesource.com/9650 Reviewed-by: Tom Sepez Commit-Queue: Henrique Nakashima --- core/fpdfapi/page/cpdf_pathobject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/fpdfapi/page/cpdf_pathobject.cpp b/core/fpdfapi/page/cpdf_pathobject.cpp index b54ad6e151..7dd91598c6 100644 --- a/core/fpdfapi/page/cpdf_pathobject.cpp +++ b/core/fpdfapi/page/cpdf_pathobject.cpp @@ -6,7 +6,7 @@ #include "core/fpdfapi/page/cpdf_pathobject.h" -CPDF_PathObject::CPDF_PathObject() {} +CPDF_PathObject::CPDF_PathObject() : m_FillType(0), m_bStroke(false) {} CPDF_PathObject::~CPDF_PathObject() {} -- cgit v1.2.3