mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
add various variable initializations to keep valgrind happy
This commit is contained in:
@@ -109,6 +109,7 @@ CRemoteControl::CRemoteControl()
|
||||
is_video_started = true;
|
||||
//next_EPGid = 0;
|
||||
are_subchannels = false;
|
||||
has_unresolved_ctags = false;
|
||||
}
|
||||
|
||||
|
||||
|
@@ -218,6 +218,9 @@ CFrameBuffer::CFrameBuffer()
|
||||
memset(green, 0, 256*sizeof(__u16));
|
||||
memset(blue, 0, 256*sizeof(__u16));
|
||||
memset(trans, 0, 256*sizeof(__u16));
|
||||
#ifdef USE_OPENGL
|
||||
mpGLThreadObj = NULL;
|
||||
#endif
|
||||
}
|
||||
|
||||
CFrameBuffer* CFrameBuffer::getInstance()
|
||||
|
@@ -185,6 +185,7 @@ void CBookmarkManager::writeBookmarkFile() {
|
||||
|
||||
CBookmarkManager::CBookmarkManager() : bookmarkfile ('\t')
|
||||
{
|
||||
bookmarksmodified = false;
|
||||
readBookmarkFile();
|
||||
}
|
||||
|
||||
|
@@ -99,6 +99,7 @@ CInfoViewer::CInfoViewer ()
|
||||
|
||||
Init();
|
||||
infoViewerBB->Init();
|
||||
strcpy(old_timestr, "");
|
||||
}
|
||||
|
||||
CInfoViewer::~CInfoViewer()
|
||||
|
@@ -408,6 +408,7 @@ bool CKeybindSetup::changeNotify(const neutrino_locale_t OptionName, void * /* d
|
||||
#else
|
||||
/* if we have a good input device, we don't need the private ioctl above */
|
||||
struct input_event ie;
|
||||
memset(&ie, 0, sizeof(ie));
|
||||
ie.type = EV_REP;
|
||||
/* increase by 10 ms to trick the repeat checker code in the
|
||||
* rcinput loop into accepting the key event... */
|
||||
|
@@ -3176,6 +3176,7 @@ void CNeutrinoApp::ExitRun(const bool /*write_si*/, int retcode)
|
||||
}
|
||||
|
||||
delete g_RCInput;
|
||||
g_RCInput = NULL;
|
||||
//fan speed
|
||||
if (g_info.has_fan) {
|
||||
int fspeed = 0;
|
||||
|
Reference in New Issue
Block a user