coverity#738684 Uninitialized scalar field

Change-Id: I07b698a72ada7a56fb8b63232f25ee5a5edfc185
This commit is contained in:
Caolán McNamara
2014-04-11 13:48:59 +01:00
parent 46575addc4
commit 01dca77a77

View File

@@ -75,7 +75,19 @@
class LwpPanoseNumber class LwpPanoseNumber
{ {
public: public:
LwpPanoseNumber(){} LwpPanoseNumber()
: m_nFamilyType(0)
, m_nSerifStyle(0)
, m_nWeight(0)
, m_nProportion(0)
, m_nContrast(0)
, m_nStrokeVariation(0)
, m_nArmStyle(0)
, m_nLetterform(0)
, m_nMidline(0)
, m_nXHeight(0)
{
}
~LwpPanoseNumber(){} ~LwpPanoseNumber(){}
public: public:
void Read(LwpObjectStream *pStrm); void Read(LwpObjectStream *pStrm);