Kaydet (Commit) adcb33d7 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#708662 Uninitialized pointer field

Change-Id: Icfa4ee2a525016775b5917143b5c4333212db362
üst 8c6f8b16
......@@ -110,7 +110,6 @@ protected:
SalColor nTextColor_;
Pixel nTextPixel_;
bool bFontVertical_;
bool bDisableGraphite_;
......
......@@ -92,6 +92,7 @@ X11SalGraphics::X11SalGraphics()
{
m_pFrame = NULL;
m_pVDev = NULL;
m_pColormap = NULL;
m_pDeleteColormap = NULL;
hDrawable_ = None;
m_aXRenderPicture = 0;
......
......@@ -135,8 +135,6 @@ bool X11SalGraphics::setFont( const FontSelectPattern *pEntry, int nFallbackLeve
if( !pEntry )
return false;
bFontVertical_ = pEntry->mbVertical;
// return early if this is not a valid font for this graphics
if( !pEntry->mpFontData )
return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment