diff options
| author | Heinrich Schuchardt <[email protected]> | 2026-04-29 17:54:18 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-05-04 14:35:10 -0600 |
| commit | ba1209d7a756552677f07c207cdf7fac400a8b7c (patch) | |
| tree | 2b413660818fe2553455dd0b576d28fb587d34ee /lib/image-sparse.c | |
| parent | 2c733e6c85576b86358885c0a9462a0337797653 (diff) | |
fat: initialize ret in disk_rw()
If fat_sect_size = 0 and nr_sect = 0, the value of ret is never initialized.
A random return value is returned.
Initialize ret to 0.
Addresses-Coverity-ID: - 645495 Uninitialized scalar variable
Signed-off-by: Heinrich Schuchardt <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'lib/image-sparse.c')
0 files changed, 0 insertions, 0 deletions
