Initialize member variables

It's always good practice.
This commit is contained in:
Luís Pereira
2020-06-22 13:34:13 +01:00
committed by Chih-Hsuan Yen
parent f04032e450
commit 96fc2dbd43
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -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())
{