mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 17:15:43 +01:00
alsactl: state - fix ‘item’ may be used uninitialized gcc warning
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
2bc595e7bd
commit
646d6ff094
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ static int get_control(snd_ctl_t *handle, snd_ctl_elem_id_t *id, snd_config_t *t
|
|||
{
|
||||
snd_ctl_elem_value_t *ctl;
|
||||
snd_ctl_elem_info_t *info;
|
||||
snd_config_t *control, *comment, *item, *value;
|
||||
snd_config_t *control, *comment, *item = NULL, *value;
|
||||
const char *s;
|
||||
char buf[256];
|
||||
unsigned int idx;
|
||||
|
|
Loading…
Reference in a new issue