Fix uninitialized variable reported by gcc, but not clang.
This commit is contained in:
parent
8903f19ef0
commit
1ba706292c
@ -5552,7 +5552,7 @@ hdaa_dump_ctls(struct hdaa_pcm_devinfo *pdevinfo, const char *banner, uint32_t f
|
|||||||
struct hdaa_devinfo *devinfo = pdevinfo->devinfo;
|
struct hdaa_devinfo *devinfo = pdevinfo->devinfo;
|
||||||
struct hdaa_audio_ctl *ctl;
|
struct hdaa_audio_ctl *ctl;
|
||||||
char buf[64];
|
char buf[64];
|
||||||
int i, j, printed;
|
int i, j, printed = 0;
|
||||||
|
|
||||||
if (flag == 0) {
|
if (flag == 0) {
|
||||||
flag = ~(SOUND_MASK_VOLUME | SOUND_MASK_PCM |
|
flag = ~(SOUND_MASK_VOLUME | SOUND_MASK_PCM |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user