fix various warnings

See also ALSA bug#1689
This commit is contained in:
Jaroslav Kysela 2006-10-06 13:18:34 +02:00
parent 8c9e4114a2
commit 57eb3145b8
5 changed files with 10 additions and 8 deletions

View file

@ -603,7 +603,7 @@ static int snd_pcm_meter_add_scope_conf(snd_pcm_t *pcm, const char *name,
int (*open_func)(snd_pcm_t *, const char *,
snd_config_t *, snd_config_t *) = NULL;
snd_pcm_meter_t *meter = pcm->private_data;
void *h;
void *h = NULL;
int err;
if (snd_config_get_type(conf) != SND_CONFIG_TYPE_COMPOUND) {