Commit 603d5727 authored by George Burgess IV's avatar George Burgess IV
Browse files

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
parent d166148a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment