Fix non-static, non-initialized member fProcessID CID 9946; Remove non-used fLockFlag, set un-initilized fSavedAttr member, CID 9945; fixed a few extra spaces
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40765 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -126,6 +126,7 @@ typedef struct
|
|||||||
Shell::Shell()
|
Shell::Shell()
|
||||||
:
|
:
|
||||||
fFd(-1),
|
fFd(-1),
|
||||||
|
fProcessID(-1),
|
||||||
fTermParse(NULL),
|
fTermParse(NULL),
|
||||||
fAttached(false)
|
fAttached(false)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -70,6 +70,7 @@ TermParse::TermParse(int fd)
|
|||||||
:
|
:
|
||||||
fFd(fd),
|
fFd(fd),
|
||||||
fAttr(FORECOLORED(7)),
|
fAttr(FORECOLORED(7)),
|
||||||
|
fSavedAttr(FORECOLORED(7)),
|
||||||
fParseThread(-1),
|
fParseThread(-1),
|
||||||
fReaderThread(-1),
|
fReaderThread(-1),
|
||||||
fReaderSem(-1),
|
fReaderSem(-1),
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ public:
|
|||||||
|
|
||||||
status_t StartThreads(TerminalBuffer *view);
|
status_t StartThreads(TerminalBuffer *view);
|
||||||
status_t StopThreads();
|
status_t StopThreads();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
inline uchar _NextParseChar();
|
inline uchar _NextParseChar();
|
||||||
|
|
||||||
@@ -99,12 +99,10 @@ private:
|
|||||||
uchar fParserBuffer[ESC_PARSER_BUFFER_SIZE];
|
uchar fParserBuffer[ESC_PARSER_BUFFER_SIZE];
|
||||||
int32 fParserBufferSize;
|
int32 fParserBufferSize;
|
||||||
int32 fParserBufferOffset;
|
int32 fParserBufferOffset;
|
||||||
|
|
||||||
int fLockFlag;
|
|
||||||
|
|
||||||
TerminalBuffer *fBuffer;
|
TerminalBuffer *fBuffer;
|
||||||
|
|
||||||
bool fQuitting;
|
bool fQuitting;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // TERMPARSE_H
|
#endif // TERMPARSE_H
|
||||||
|
|||||||
Reference in New Issue
Block a user