From f22f8388ad52d60b26726dca517706659321c36e Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Wed, 8 Aug 2001 18:52:25 +0000 Subject: [PATCH] Fixed broken initialization --- src/hwdep/hwdep.c | 2 +- src/rawmidi/rawmidi.c | 2 +- src/timer/timer.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hwdep/hwdep.c b/src/hwdep/hwdep.c index 77881803..c3621e05 100644 --- a/src/hwdep/hwdep.c +++ b/src/hwdep/hwdep.c @@ -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; diff --git a/src/rawmidi/rawmidi.c b/src/rawmidi/rawmidi.c index 5ce2356a..92fa1679 100644 --- a/src/rawmidi/rawmidi.c +++ b/src/rawmidi/rawmidi.c @@ -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; diff --git a/src/timer/timer.c b/src/timer/timer.c index 5389b3c3..f5078436 100644 --- a/src/timer/timer.c +++ b/src/timer/timer.c @@ -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; -- 2.11.0