]> git.alsa-project.org Git - alsa-lib.git/commitdiff
fixed compile warning.
authorTakashi Iwai <tiwai@suse.de>
Tue, 4 Feb 2003 15:59:52 +0000 (15:59 +0000)
committerTakashi Iwai <tiwai@suse.de>
Tue, 4 Feb 2003 15:59:52 +0000 (15:59 +0000)
src/rawmidi/rawmidi.c

index 2a2726ed28944f11a6a1515dff729278da92751a..c2d2c46c6bfcd8492f28ef2c9c8f54dac718f9a5 100644 (file)
@@ -172,7 +172,7 @@ static int snd_rawmidi_open_conf(snd_rawmidi_t **inputp, snd_rawmidi_t **outputp
 #ifndef PIC
        extern void *snd_rawmidi_open_symbols(void);
 #endif
-       void *h;
+       void *h = NULL;
        if (snd_config_get_type(rawmidi_conf) != SND_CONFIG_TYPE_COMPOUND) {
                if (name)
                        SNDERR("Invalid type for RAWMIDI %s definition", name);