commit | 603d57277f0dce37422a76a2911daf17596a30fe | [log] [tgz] |
---|---|---|
author | George Burgess IV <gbiv@google.com> | Wed Jul 12 19:41:30 2017 -0700 |
committer | George Burgess IV <gbiv@google.com> | Wed Jul 12 19:41:30 2017 -0700 |
tree | d28bef9d50dbc633b785279d1920d96df84bdfc2 | |
parent | d166148abab4af9111e325a859f86d58e2a04c0b [diff] |
Fix use of uninitialized value This fixes multiple warnings that look like: packages/apps/LegacyCamera/jni/feature_mos_jni.cpp:371:8: warning: variable 'ret_code' is used uninitialized whenever '&&' condition is false (We only init ret_code in the if block, not the else. It's later unconditionally assigned to gTRS[10]). Bug: None Test: mma. Warning disappeared. Change-Id: I5993dafa68ca64fd5e467789be0ca747f0805426