commit | fed64e390fd0459cdfafa22213c08d43614c74d1 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Tue Dec 20 13:50:57 2022 -0800 |
committer | Chih-hung Hsieh <chh@google.com> | Tue Jan 10 00:52:02 2023 +0000 |
tree | d6a3f6030c8c61851e6f507cb81ba7dfae0c2251 | |
parent | 5065c690dd1dad0273ce05b413a216d0814c8c88 [diff] [blame] |
Fix uninitialized value warnings. Bug: 263274255 Test: presubmit; make tidy-build-make_subset Change-Id: I33c8b0b006732e4351a15774b50036d10ffd26b5
diff --git a/tools/zipalign/ZipFile.cpp b/tools/zipalign/ZipFile.cpp index f2f65a6..ff15b15 100644 --- a/tools/zipalign/ZipFile.cpp +++ b/tools/zipalign/ZipFile.cpp
@@ -372,7 +372,7 @@ status_t result = OK; long lfhPosn, startPosn, endPosn, uncompressedLen; FILE* inputFp = NULL; - uint32_t crc; + uint32_t crc = 0; time_t modWhen; if (mReadOnly)