diff options
| author | 2017-07-12 10:29:15 -0700 | |
|---|---|---|
| committer | 2017-07-12 10:29:15 -0700 | |
| commit | 6eb62056acdee1861dbead8a6daedf5a042bce4d (patch) | |
| tree | ec70b2a1b74b4e6ff978cc5ae653c6c108d4a71e /libs/gui/ConsumerBase.cpp | |
| parent | 38bcc110b84e04c00793632c043526a8c86f4463 (diff) | |
Fix clang static anaylzer warnings.
Initialize the values in readBool, readChar and readByte functions.
Silences the following warnings:
frameworks/native/libs/binder/Parcel.cpp:1856:18: warning: The left
operand of '!=' is a garbage value.
frameworks/native/libs/binder/Parcel.cpp:1869:11: warning: Assigned
value is garbage or undefined.
frameworks/native/libs/binder/Parcel.cpp:1882:11: warning: Assigned
value is garbage or undefined.
Bug: b/27101951
Test:Warnings are gone.
Change-Id: Iba8d242d4d9b1b48f7cafb901023133e21d9d732
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions