Avoid crash if snd_pcm_open fails.

This commit is contained in:
Alexandre Julliard 2003-03-28 19:34:50 +00:00
parent bbc25aaa11
commit 270d1b8ad7
1 changed files with 1 additions and 1 deletions

View File

@ -400,7 +400,7 @@ else \
*/
LONG ALSA_WaveInit(void)
{
snd_pcm_t* h;
snd_pcm_t* h = NULL;
snd_pcm_info_t * info;
snd_pcm_hw_params_t * hw_params;
WINE_WAVEOUT* wwo;