mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-12-16 08:56:42 -05:00
Fixed broken initialization
This commit is contained in:
parent
5fd61eaf90
commit
f22f8388ad
3 changed files with 3 additions and 3 deletions
|
|
@ -44,7 +44,7 @@ static int snd_hwdep_open_conf(snd_hwdep_t **hwdep,
|
||||||
const char *str;
|
const char *str;
|
||||||
char buf[256];
|
char buf[256];
|
||||||
int err;
|
int err;
|
||||||
snd_config_t *conf, *type_conf;
|
snd_config_t *conf, *type_conf = NULL;
|
||||||
snd_config_iterator_t i, next;
|
snd_config_iterator_t i, next;
|
||||||
const char *lib = NULL, *open_name = NULL;
|
const char *lib = NULL, *open_name = NULL;
|
||||||
int (*open_func)(snd_hwdep_t **, const char *, snd_config_t *, snd_config_t *, int) = NULL;
|
int (*open_func)(snd_hwdep_t **, const char *, snd_config_t *, snd_config_t *, int) = NULL;
|
||||||
|
|
|
||||||
|
|
@ -68,7 +68,7 @@ static int snd_rawmidi_open_conf(snd_rawmidi_t **inputp, snd_rawmidi_t **outputp
|
||||||
const char *str;
|
const char *str;
|
||||||
char buf[256];
|
char buf[256];
|
||||||
int err;
|
int err;
|
||||||
snd_config_t *conf, *type_conf;
|
snd_config_t *conf, *type_conf = NULL;
|
||||||
snd_config_iterator_t i, next;
|
snd_config_iterator_t i, next;
|
||||||
snd_rawmidi_params_t params;
|
snd_rawmidi_params_t params;
|
||||||
const char *lib = NULL, *open_name = NULL;
|
const char *lib = NULL, *open_name = NULL;
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ static int snd_timer_open_conf(snd_timer_t **timer,
|
||||||
const char *str;
|
const char *str;
|
||||||
char buf[256];
|
char buf[256];
|
||||||
int err;
|
int err;
|
||||||
snd_config_t *conf, *type_conf;
|
snd_config_t *conf, *type_conf = NULL;
|
||||||
snd_config_iterator_t i, next;
|
snd_config_iterator_t i, next;
|
||||||
const char *lib = NULL, *open_name = NULL;
|
const char *lib = NULL, *open_name = NULL;
|
||||||
int (*open_func)(snd_timer_t **, const char *, snd_config_t *, snd_config_t *, int) = NULL;
|
int (*open_func)(snd_timer_t **, const char *, snd_config_t *, snd_config_t *, int) = NULL;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue