mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
some inits
Origin commit data
------------------
Branch: ni/coolstream
Commit: 0fdb6505d8
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2021-10-24 (Sun, 24 Oct 2021)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -582,7 +582,7 @@ enum XML_Error XML_Parser::doContent(int startTagLevel, const ENCODING *enc, con
|
||||
|
||||
for (;;)
|
||||
{
|
||||
const char *next;
|
||||
const char *next = NULL;
|
||||
int tok=XmlContentTok(enc, s, end, &next);
|
||||
*eventEndPP = next;
|
||||
|
||||
@@ -1232,7 +1232,7 @@ enum XML_Error XML_Parser::doCdataSection(const ENCODING *enc, const char **star
|
||||
|
||||
for (;;)
|
||||
{
|
||||
const char *next;
|
||||
const char *next = NULL;
|
||||
|
||||
int tok=XmlCdataSectionTok(enc, s, end, &next);
|
||||
|
||||
@@ -1843,7 +1843,7 @@ enum XML_Error epilogProcessor(void *parser, const char *s, const char *end, con
|
||||
|
||||
for (;;)
|
||||
{
|
||||
const char *next;
|
||||
const char *next = NULL;
|
||||
|
||||
int tok=XmlPrologTok(p->encoding, s, end, &next);
|
||||
p->eventEndPtr=next;
|
||||
|
@@ -75,7 +75,7 @@ int CInfoMenu::exec(CMenuTarget *parent, const std::string &actionKey)
|
||||
if (actionKey == "cs_get_info")
|
||||
{
|
||||
#if HAVE_CST_HARDWARE
|
||||
char str[1024];
|
||||
char str[1024] = {};
|
||||
sprintf(str, "cs_get_revision(): 0x%02X\n", cs_get_revision());
|
||||
sprintf(str, "%scs_get_chip_type(): 0x%04X\n", str, cs_get_chip_type());
|
||||
ShowMsg(LOCALE_MESSAGEBOX_INFO, str, CMsgBox::mbrBack, CMsgBox::mbBack);
|
||||
|
@@ -338,7 +338,7 @@ int CLuaInstMenu::MenuAddItem(lua_State *L)
|
||||
lua_assert(lua_istable(L, 2));
|
||||
|
||||
CMenuItem *mi = NULL;
|
||||
CLuaMenuItem i;
|
||||
CLuaMenuItem i = {};
|
||||
D->items.push_back(i);
|
||||
CLuaMenuItem *b = &D->items.back();
|
||||
|
||||
|
@@ -3043,11 +3043,12 @@ void CControlAPI::doNewTimer(CyhookHandler *hh)
|
||||
|
||||
std::string _rec_dir = hh->ParamList["rec_dir"];
|
||||
void *data=NULL;
|
||||
bool standby_on = false;
|
||||
if(type == CTimerd::TIMER_RECORD)
|
||||
announceTimeT-=120;
|
||||
if(type == CTimerd::TIMER_STANDBY)
|
||||
{
|
||||
bool standby_on = (hh->ParamList["sbon"]=="1");
|
||||
standby_on = (hh->ParamList["sbon"]=="1");
|
||||
data=&standby_on;
|
||||
}
|
||||
/* else if(type==CTimerd::TIMER_NEXTPROGRAM || type==CTimerd::TIMER_ZAPTO) */
|
||||
|
Reference in New Issue
Block a user