mirror of
https://github.com/torvalds/linux.git
synced 2024-12-14 23:25:54 +00:00
13f99ebdd6
The latest gcc-7.0.1 snapshot points out that we if nr_ch is zero, we never initialize some variables: sound/pci/au88x0/au88x0_core.c: In function 'vortex_adb_allocroute': sound/pci/au88x0/au88x0_core.c:2304:68: error: 'mix[0]' may be used uninitialized in this function [-Werror=maybe-uninitialized] sound/pci/au88x0/au88x0_core.c:2305:58: error: 'src[0]' may be used uninitialized in this function [-Werror=maybe-uninitialized] I assume this can never happen in practice, but adding a check here doesn't hurt either and avoids the warning. The code has been unchanged since the start of git history. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Takashi Iwai <tiwai@suse.de> |
||
---|---|---|
.. | ||
au88x0_a3d.c | ||
au88x0_a3d.h | ||
au88x0_a3ddata.c | ||
au88x0_core.c | ||
au88x0_eq.c | ||
au88x0_eq.h | ||
au88x0_eqdata.c | ||
au88x0_game.c | ||
au88x0_mixer.c | ||
au88x0_mpu401.c | ||
au88x0_pcm.c | ||
au88x0_synth.c | ||
au88x0_wt.h | ||
au88x0_xtalk.c | ||
au88x0_xtalk.h | ||
au88x0.c | ||
au88x0.h | ||
au8810.c | ||
au8810.h | ||
au8820.c | ||
au8820.h | ||
au8830.c | ||
au8830.h | ||
Makefile |