Skip to content
Commit 302f0653 authored by Daniel Leung's avatar Daniel Leung Committed by Anas Nashif
Browse files

fuel_gauge: sbs_gauge: fix uninitialized variable warning



The return variable rc in sbs_gauge_do_battery_cutoff() needs to
be initialized, or else it would return random value if the for
loop is never entered.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent 8023d595
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment