Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: Daniel Leung <daniel.leung@intel.com>
- Loading branch information