Initialize member variables
It's always good practice.
This commit is contained in:
committed by
Chih-Hsuan Yen
parent
f04032e450
commit
96fc2dbd43
+2
-1
@@ -90,7 +90,8 @@ FIXME: There is noticeable decrease in speed, also. Perhaps,
|
||||
HistoryFile::HistoryFile()
|
||||
: ion(-1),
|
||||
length(0),
|
||||
fileMap(nullptr)
|
||||
fileMap(nullptr),
|
||||
readWriteBalance(0)
|
||||
{
|
||||
if (tmpFile.open())
|
||||
{
|
||||
|
||||
@@ -30,6 +30,7 @@ using namespace Konsole;
|
||||
|
||||
ScreenWindow::ScreenWindow(QObject* parent)
|
||||
: QObject(parent)
|
||||
, _screen(nullptr)
|
||||
, _windowBuffer(nullptr)
|
||||
, _windowBufferSize(0)
|
||||
, _bufferNeedsUpdate(true)
|
||||
|
||||
Reference in New Issue
Block a user