mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
initialize not initialized var
Origin commit data
------------------
Branch: ni/coolstream
Commit: 926e0ce141
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-11-05 (Mon, 05 Nov 2012)
Origin message was:
------------------
initialize not initialized var
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -52,6 +52,8 @@ extern cVideo *videoDecoder;
|
|||||||
CCECSetup::CCECSetup()
|
CCECSetup::CCECSetup()
|
||||||
{
|
{
|
||||||
width = w_max (40, 10); //%
|
width = w_max (40, 10); //%
|
||||||
|
cec1 = NULL;
|
||||||
|
cec2 = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
CCECSetup::~CCECSetup()
|
CCECSetup::~CCECSetup()
|
||||||
|
@@ -90,7 +90,24 @@ CInfoViewer::CInfoViewer ()
|
|||||||
timescale = NULL;
|
timescale = NULL;
|
||||||
frameBuffer = CFrameBuffer::getInstance();
|
frameBuffer = CFrameBuffer::getInstance();
|
||||||
infoViewerBB = CInfoViewerBB::getInstance();
|
infoViewerBB = CInfoViewerBB::getInstance();
|
||||||
|
InfoHeightY = 0;
|
||||||
|
ButtonWidth = 0;
|
||||||
|
rt_dx = 0;
|
||||||
|
rt_dy = 0;
|
||||||
|
ChanNameX = 0;
|
||||||
|
ChanNameY = 0;
|
||||||
|
ChanWidth = 0;
|
||||||
|
ChanHeight = 0;
|
||||||
|
time_left_width = 0;
|
||||||
|
time_dot_width = 0;
|
||||||
|
time_width = 0;
|
||||||
|
time_height = 0;
|
||||||
|
old_timestr[0] = 0;
|
||||||
|
lastsnr = 0;
|
||||||
|
lastsig = 0;
|
||||||
|
lasttime = 0;
|
||||||
|
aspectRatio = 0;
|
||||||
|
ChanInfoX = 0;
|
||||||
Init();
|
Init();
|
||||||
infoViewerBB->Init();
|
infoViewerBB->Init();
|
||||||
}
|
}
|
||||||
|
@@ -89,6 +89,11 @@ CInfoViewerBB::CInfoViewerBB()
|
|||||||
#endif
|
#endif
|
||||||
hddperT = 0;
|
hddperT = 0;
|
||||||
hddperTflag = false;
|
hddperTflag = false;
|
||||||
|
bbIconInfo[0].x = 0;
|
||||||
|
bbIconInfo[0].h = 0;
|
||||||
|
BBarY = 0;
|
||||||
|
BBarFontY = 0;
|
||||||
|
|
||||||
Init();
|
Init();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -96,7 +96,6 @@ class CListFrame
|
|||||||
int m_nNrOfPages;
|
int m_nNrOfPages;
|
||||||
int m_nNrOfLines;
|
int m_nNrOfLines;
|
||||||
int m_nNrOfRows;
|
int m_nNrOfRows;
|
||||||
int m_nMaxLineWidth;
|
|
||||||
int m_nLinesPerPage;
|
int m_nLinesPerPage;
|
||||||
int m_nCurrentLine;
|
int m_nCurrentLine;
|
||||||
int m_nCurrentPage;
|
int m_nCurrentPage;
|
||||||
@@ -142,7 +141,6 @@ class CListFrame
|
|||||||
void paint(void);
|
void paint(void);
|
||||||
|
|
||||||
inline CBox getWindowsPos(void) {return(m_cFrame);};
|
inline CBox getWindowsPos(void) {return(m_cFrame);};
|
||||||
inline int getMaxLineWidth(void) {return(m_nMaxLineWidth);};
|
|
||||||
inline int getSelectedLine(void) {return(m_nSelectedLine);};
|
inline int getSelectedLine(void) {return(m_nSelectedLine);};
|
||||||
inline int getLines(void) {return(m_nNrOfLines);};
|
inline int getLines(void) {return(m_nNrOfLines);};
|
||||||
inline int getPages(void) {return(m_nNrOfPages);};
|
inline int getPages(void) {return(m_nNrOfPages);};
|
||||||
|
@@ -213,6 +213,8 @@ CMsgBox::~CMsgBox()
|
|||||||
void CMsgBox::initVar(void)
|
void CMsgBox::initVar(void)
|
||||||
{
|
{
|
||||||
//TRACE("->CMsgBox::InitVar\r\n");
|
//TRACE("->CMsgBox::InitVar\r\n");
|
||||||
|
mode = AUTO_WIDTH;
|
||||||
|
m_nResult = mbrYes;
|
||||||
m_cTitle = "";
|
m_cTitle = "";
|
||||||
m_cIcon = "";
|
m_cIcon = "";
|
||||||
m_nMode = SCROLL | TITLE | BORDER ;
|
m_nMode = SCROLL | TITLE | BORDER ;
|
||||||
|
@@ -49,6 +49,10 @@ CProgressWindow::CProgressWindow()
|
|||||||
|
|
||||||
global_progress = local_progress = 101;
|
global_progress = local_progress = 101;
|
||||||
statusText = "";
|
statusText = "";
|
||||||
|
globalstatusX = 0;
|
||||||
|
globalstatusY = 0;
|
||||||
|
localstatusY = 0;
|
||||||
|
statusTextY = 0;
|
||||||
|
|
||||||
x = frameBuffer->getScreenX() + ((frameBuffer->getScreenWidth() - width ) >> 1 );
|
x = frameBuffer->getScreenX() + ((frameBuffer->getScreenWidth() - width ) >> 1 );
|
||||||
y = frameBuffer->getScreenY() + ((frameBuffer->getScreenHeight() - height) >>1 );
|
y = frameBuffer->getScreenY() + ((frameBuffer->getScreenHeight() - height) >>1 );
|
||||||
|
@@ -108,7 +108,7 @@ class CExtendedInput_Item_Spacer : public CExtendedInput_Item
|
|||||||
int mSpacingX;
|
int mSpacingX;
|
||||||
int mSpacingY;
|
int mSpacingY;
|
||||||
public:
|
public:
|
||||||
CExtendedInput_Item_Spacer(){};
|
CExtendedInput_Item_Spacer(){mSpacingY = 0;mSpacingX = 0;};
|
||||||
CExtendedInput_Item_Spacer(int spaceX, int spaceY=0){mSpacingX=spaceX;mSpacingY=spaceY;};
|
CExtendedInput_Item_Spacer(int spaceX, int spaceY=0){mSpacingX=spaceX;mSpacingY=spaceY;};
|
||||||
virtual void init(int &x, int &y){x+=mSpacingX;y+=mSpacingY;};
|
virtual void init(int &x, int &y){x+=mSpacingX;y+=mSpacingY;};
|
||||||
virtual bool isSelectable(){return false;};
|
virtual bool isSelectable(){return false;};
|
||||||
@@ -119,7 +119,7 @@ class CExtendedInput_Item_newLiner : public CExtendedInput_Item
|
|||||||
protected:
|
protected:
|
||||||
int mSpacingY;
|
int mSpacingY;
|
||||||
public:
|
public:
|
||||||
CExtendedInput_Item_newLiner(){};
|
CExtendedInput_Item_newLiner(){mSpacingY=0;};
|
||||||
CExtendedInput_Item_newLiner(int spaceY){mSpacingY=spaceY;};
|
CExtendedInput_Item_newLiner(int spaceY){mSpacingY=spaceY;};
|
||||||
virtual void init(int &x, int &y){x=0;y+=mSpacingY;};
|
virtual void init(int &x, int &y){x=0;y+=mSpacingY;};
|
||||||
virtual bool isSelectable(){return false;};
|
virtual bool isSelectable(){return false;};
|
||||||
|
@@ -152,6 +152,11 @@ CTextBox::~CTextBox()
|
|||||||
void CTextBox::initVar(void)
|
void CTextBox::initVar(void)
|
||||||
{
|
{
|
||||||
//TRACE("[CTextBox]->InitVar\r\n");
|
//TRACE("[CTextBox]->InitVar\r\n");
|
||||||
|
m_showTextFrame = 0;
|
||||||
|
m_nNrOfNewLine = 0;
|
||||||
|
m_nMaxLineWidth = 0;
|
||||||
|
max_width = 0;
|
||||||
|
|
||||||
m_cText = "";
|
m_cText = "";
|
||||||
m_nMode = SCROLL;
|
m_nMode = SCROLL;
|
||||||
|
|
||||||
|
@@ -72,7 +72,7 @@ class CBox
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
/* Constructor */
|
/* Constructor */
|
||||||
inline CBox(){;};
|
inline CBox(){iY = 0; iX = 0; iWidth = 0;iHeight = 0;};
|
||||||
inline CBox( const int _iX, const int _iY, const int _iWidth, const int _iHeight){iX=_iX; iY=_iY; iWidth=_iWidth; iHeight=_iHeight;};
|
inline CBox( const int _iX, const int _iY, const int _iWidth, const int _iHeight){iX=_iX; iY=_iY; iWidth=_iWidth; iHeight=_iHeight;};
|
||||||
inline ~CBox(){;};
|
inline ~CBox(){;};
|
||||||
/* Functions */
|
/* Functions */
|
||||||
|
@@ -39,6 +39,8 @@
|
|||||||
|
|
||||||
CZapitSetup::CZapitSetup()
|
CZapitSetup::CZapitSetup()
|
||||||
{
|
{
|
||||||
|
zapit1 = NULL;
|
||||||
|
zapit2 = NULL;
|
||||||
width = w_max (40, 10); //%
|
width = w_max (40, 10); //%
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -22,6 +22,11 @@ long CWebserverConnection::GConnectionNumber = 0;
|
|||||||
// Constructor & Destructor & Initialization
|
// Constructor & Destructor & Initialization
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
CWebserverConnection::CWebserverConnection(CWebserver *pWebserver) {
|
CWebserverConnection::CWebserverConnection(CWebserver *pWebserver) {
|
||||||
|
sock = 0;
|
||||||
|
ConnectionNumber = 0;
|
||||||
|
enlapsed_request = 0;
|
||||||
|
enlapsed_response = 0;
|
||||||
|
|
||||||
Webserver = pWebserver;
|
Webserver = pWebserver;
|
||||||
Request.Webserver = pWebserver;
|
Request.Webserver = pWebserver;
|
||||||
Request.Connection = this;
|
Request.Connection = this;
|
||||||
@@ -39,6 +44,12 @@ CWebserverConnection::CWebserverConnection(CWebserver *pWebserver) {
|
|||||||
//-------------------------------------------------------------------------
|
//-------------------------------------------------------------------------
|
||||||
CWebserverConnection::CWebserverConnection() {
|
CWebserverConnection::CWebserverConnection() {
|
||||||
// aprintf("test CWebserverConnection::CWebserverConnection()\n");
|
// aprintf("test CWebserverConnection::CWebserverConnection()\n");
|
||||||
|
sock = 0;
|
||||||
|
RequestCanceled = 0;
|
||||||
|
keep_alive = 0;
|
||||||
|
HttpStatus = 0;
|
||||||
|
enlapsed_request = 0;
|
||||||
|
enlapsed_response = 0;
|
||||||
ConnectionNumber = ++GConnectionNumber;
|
ConnectionNumber = ++GConnectionNumber;
|
||||||
}
|
}
|
||||||
//-------------------------------------------------------------------------
|
//-------------------------------------------------------------------------
|
||||||
|
@@ -141,7 +141,7 @@ public:
|
|||||||
CStringList HookVarList; // Variables in Hook-Handling passing to other Hooks
|
CStringList HookVarList; // Variables in Hook-Handling passing to other Hooks
|
||||||
THttp_Method Method; // HTTP Method (requested)
|
THttp_Method Method; // HTTP Method (requested)
|
||||||
// constructor & deconstructor
|
// constructor & deconstructor
|
||||||
CyhookHandler(){};
|
CyhookHandler(){ContentLength = 0; keep_alive = 0; _outIndent = 0;};
|
||||||
virtual ~CyhookHandler(){};
|
virtual ~CyhookHandler(){};
|
||||||
|
|
||||||
// hook slot handler
|
// hook slot handler
|
||||||
|
Reference in New Issue
Block a user