diff options
| author | Rong Chen <[email protected]> | 2020-04-24 08:54:37 +0800 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2020-04-24 13:19:12 +0100 |
| commit | 3e645a4add53eec22f3818c9da01c19191525096 (patch) | |
| tree | 9d4d8c49cfdd0c67e85d923e82cb1e6482cbcf9c /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | fe57a92c88580ae7894b9c71d2d520ba98eb1591 (diff) | |
ASoC: soc-compress: avoid false-positive Wuninitialized warning
gcc-6.5 and earlier show a new warning:
sound/soc/soc-compress.c: In function ‘soc_compr_open’:
sound/soc/soc-compress.c:75:28: warning: ‘component’ is used uninitialized in this function [-Wuninitialized]
struct snd_soc_component *component, *save = NULL;
^~~~~~~~~
Simplest fix is to initialize it to avoid the warning.
Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Rong Chen <[email protected]>
Acked-by: Kuninori Morimoto <[email protected]>
Cc: Kuninori Morimoto <[email protected]>
Link: https://lore.kernel.org/lkml/202004201540.vYPhhYMs%[email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions