Fix uninitialized value warnings.

Bug: 263274255
Test: presubmit; make tidy-build-make_subset
Change-Id: I33c8b0b006732e4351a15774b50036d10ffd26b5
This commit is contained in:
Chih-Hung Hsieh 2022-12-20 13:50:57 -08:00 committed by Chih-hung Hsieh
parent 5065c690dd
commit fed64e390f

View file

@ -372,7 +372,7 @@ status_t ZipFile::addCommon(const char* fileName, const void* data, size_t size,
status_t result = OK;
long lfhPosn, startPosn, endPosn, uncompressedLen;
FILE* inputFp = NULL;
uint32_t crc;
uint32_t crc = 0;
time_t modWhen;
if (mReadOnly)