Fixed broken initialization

This commit is contained in:
Jaroslav Kysela 2001-08-08 18:52:25 +00:00
parent 5fd61eaf90
commit f22f8388ad
3 changed files with 3 additions and 3 deletions

View file

@ -44,7 +44,7 @@ static int snd_hwdep_open_conf(snd_hwdep_t **hwdep,
const char *str;
char buf[256];
int err;
snd_config_t *conf, *type_conf;
snd_config_t *conf, *type_conf = NULL;
snd_config_iterator_t i, next;
const char *lib = NULL, *open_name = NULL;
int (*open_func)(snd_hwdep_t **, const char *, snd_config_t *, snd_config_t *, int) = NULL;

View file

@ -68,7 +68,7 @@ static int snd_rawmidi_open_conf(snd_rawmidi_t **inputp, snd_rawmidi_t **outputp
const char *str;
char buf[256];
int err;
snd_config_t *conf, *type_conf;
snd_config_t *conf, *type_conf = NULL;
snd_config_iterator_t i, next;
snd_rawmidi_params_t params;
const char *lib = NULL, *open_name = NULL;

View file

@ -43,7 +43,7 @@ static int snd_timer_open_conf(snd_timer_t **timer,
const char *str;
char buf[256];
int err;
snd_config_t *conf, *type_conf;
snd_config_t *conf, *type_conf = NULL;
snd_config_iterator_t i, next;
const char *lib = NULL, *open_name = NULL;
int (*open_func)(snd_timer_t **, const char *, snd_config_t *, snd_config_t *, int) = NULL;