diff options
| author | Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> | 2025-12-03 15:06:12 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-12-03 14:54:37 +0000 |
| commit | 2c7e5e17c05f1d5e10e63e1baff2b362cd08dcd6 (patch) | |
| tree | 9331ca49e54d6e6cb58b2d0caace50452c7bcb0b /tools/lib/python/kdoc/kdoc_re.py | |
| parent | 3ee257aba1d56c3f0f1028669a8ad0f1a477f05b (diff) | |
ASoC: codecs: nau8325: Silence uninitialized variables warnings
clang W=1 builds warn:
nau8325.c:430:13: error: variable 'n2_max' is uninitialized when used here [-Werror,-Wuninitialized]
which are false positive, because the variables will be always
initialized when used (guarded by mclk_max!=0 check). However
initializing them upfront makes the code more obvious and easier, plus
it silences the warning.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20251203140611.87191-2-krzysztof.kozlowski@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions
