]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Fixed broken initialization
authorJaroslav Kysela <perex@perex.cz>
Wed, 8 Aug 2001 18:52:25 +0000 (18:52 +0000)
committerJaroslav Kysela <perex@perex.cz>
Wed, 8 Aug 2001 18:52:25 +0000 (18:52 +0000)
src/hwdep/hwdep.c
src/rawmidi/rawmidi.c
src/timer/timer.c

index 778818031fa14116a01b00ec07623d1617358dcb..c3621e05169a07de60b2eee200fb4221685de067 100644 (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;
index 5ce2356a2f408fc60f37a7cad5041945947b9fc5..92fa167985beb7386f5bac47ab5929e659988757 100644 (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;
index 5389b3c39ecbe327c121d44a91690d14c6d31767..f507843667df1b8a2f230bdbfb36aca1c6a0a8bd 100644 (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;