No description
Find a file
Yunlian Jiang 221c1c027a Fix an uninitialized value warning.
Warning from the static analyzer:

build/tools/zipalign/ZipFile.cpp:503:5: warning: Function call argument
is an uninitialized value
pEntry->setDataInfo(uncompressedLen, endPosn - startPosn, crc,

Specifically, it's referencing `crc`, which would be uninitialized if we
hit either of these two error cases, since we'd return `NO_ERROR`.

Note that the warning is still there, but that's only because the static
analyzer can't see the asserts. If we #undef NDEBUG in the file, then
the warning disappears.

Bug: none
Test: With NDEBUG undefined, the warning is gone.
Change-Id: Iaed66127746c38add2c842ab027f2e1982d0e2fd
2016-10-10 17:31:06 -07:00
core exec makeparallel 2016-10-03 15:33:06 -07:00
target build: add hwservicemanager to the core packages 2016-09-26 14:21:10 -07:00
tools Fix an uninitialized value warning. 2016-10-10 17:31:06 -07:00
.gitignore Add build subprojects to .gitignore 2015-07-23 13:18:47 -07:00
Android.mk Add new Android.mk to handle repo move 2016-06-16 15:30:19 -07:00
buildspec.mk.default Fix GET-INSTALL-PATH to work with Soong 2016-08-12 05:10:51 +00:00
CleanSpec.mk Remove incremental workaround for aapt overlays 2016-09-12 20:30:12 -07:00
envsetup.sh Walk up tree to find makefiles in mma 2016-09-01 15:35:57 -07:00