Fix mMaxOffset not initialized.

Test: bit GtsIncidentManagerTestCases:*
Bug: 129884655
Change-Id: Ic65566c02a255d1f52ce6876152383126afbfaef
This commit is contained in:
Joe Onorato
2019-04-03 16:17:16 -07:00
parent f8b98bb10d
commit 4796ae6f6a

View File

@@ -55,6 +55,7 @@ ProtoFileReader::ProtoFileReader(int fd)
mSize(get_file_size(fd)),
mPos(0),
mOffset(0),
mMaxOffset(0),
mChunkSize(sizeof(mBuffer)) {
}