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