diff options
| author | 2017-01-10 15:33:57 -0800 | |
|---|---|---|
| committer | 2017-01-10 15:33:57 -0800 | |
| commit | a483173c78fb453b73308a9b44ce54fb3878ed0e (patch) | |
| tree | f7a669a151ddaa68c77c990ccd6f8bc4244fbbb5 /libs/hwui/ProgramCache.h | |
| parent | 55dc66dde47a3a84c387352d88fbda429dd3d077 (diff) | |
Fix a use-of-uninitialized-value warning.
This warning was generated by the static analyzer:
warning: The left expression of the compound assignment is an
uninitialized value. The computed value will also be garbage
        *mDirtyMask |= animator->dirtyMask();
This can be fixed by initializing dirtyMask before using it in
AnimateFunctor.
Bug: None
Test: Static analyzer no longer complains about this.
Change-Id: I892749079cf93a012f1bed059a3f0c8bbaed9d7e
Diffstat (limited to 'libs/hwui/ProgramCache.h')
0 files changed, 0 insertions, 0 deletions