misc variable init fixes

This commit is contained in:
Stefan Seyfried
2012-03-24 00:45:39 +01:00
parent 40532a9d67
commit 3189f7fdc4
4 changed files with 6 additions and 0 deletions

View File

@@ -200,6 +200,7 @@ CFrameBuffer::CFrameBuffer()
backgroundFilename = ""; backgroundFilename = "";
fd = 0; fd = 0;
tty = 0; tty = 0;
bpp = 0;
m_transparent_default = CFrameBuffer::TM_BLACK; // TM_BLACK: Transparency when black content ('pseudo' transparency) m_transparent_default = CFrameBuffer::TM_BLACK; // TM_BLACK: Transparency when black content ('pseudo' transparency)
// TM_NONE: No 'pseudo' transparency // TM_NONE: No 'pseudo' transparency
// TM_INI: Transparency depends on g_settings.infobar_alpha ??? // TM_INI: Transparency depends on g_settings.infobar_alpha ???

View File

@@ -111,6 +111,7 @@ CFrameBuffer::CFrameBuffer()
backgroundFilename = ""; backgroundFilename = "";
fd = 0; fd = 0;
tty = 0; tty = 0;
bpp = 0;
//FIXME: test //FIXME: test
memset(red, 0, 256*sizeof(__u16)); memset(red, 0, 256*sizeof(__u16));
memset(green, 0, 256*sizeof(__u16)); memset(green, 0, 256*sizeof(__u16));

View File

@@ -99,6 +99,9 @@ CInfoViewer::CInfoViewer ()
hddscale = NULL; hddscale = NULL;
varscale = NULL; varscale = NULL;
timescale = NULL; timescale = NULL;
info_CurrentNext.current_zeit.startzeit = 0;
info_CurrentNext.current_zeit.dauer = 0;
info_CurrentNext.flags = 0;
Init(); Init();
} }

View File

@@ -176,6 +176,7 @@ CFrontend::CFrontend(int Number, int Adapter)
highVoltage = false; highVoltage = false;
motorRotationSpeed = 0; //in 0.1 degrees per second motorRotationSpeed = 0; //in 0.1 degrees per second
currentToneMode = SEC_TONE_OFF;
} }
CFrontend::~CFrontend(void) CFrontend::~CFrontend(void)