| commit | 3e615fa533a1ea66a23ed787b902ddcbd5496b13 | [log] [tgz] |
|---|---|---|
| author | Keith Packard <keithp@keithp.com> | Thu Oct 30 10:52:51 2025 -0700 |
| committer | Johan Hedberg <johan.hedberg@gmail.com> | Tue Nov 04 11:26:34 2025 +0200 |
| tree | 09ec70e212817a730a943a6ab84154307be8f6b5 | |
| parent | 74572a787b5cd49859e2512740ddc7bc76e987ca [diff] |
drivers: comparator: Silence GCC 14 uninitialized variable warning. When the renesas-rv-lvd driver is built with SDK 1.0 using GCC 14, the compiler emits a spurious uninitialized variable warning because it can't follow the control flow to figure out that the variable wasn't ever used without being initialized. Work around this by simply initializing it to one of the valid values. Signed-off-by: Keith Packard <keithp@keithp.com>