initialize dl handles where it needs to

this trivial patch initializes dl handle in timer.c and timer_query.c
where it needs to.

Signed-off-by: Benoit Fouet <benoit.fouet@purplelabs.com>
This commit is contained in:
Benoit Fouet 2007-01-08 15:07:02 +01:00 committed by Takashi Iwai
parent 4a1cefd24d
commit 31910617f2
2 changed files with 2 additions and 2 deletions

View file

@ -92,7 +92,7 @@ static int snd_timer_open_conf(snd_timer_t **timer,
#ifndef PIC
extern void *snd_timer_open_symbols(void);
#endif
void *h;
void *h = NULL;
if (snd_config_get_type(timer_conf) != SND_CONFIG_TYPE_COMPOUND) {
if (name)
SNDERR("Invalid type for TIMER %s definition", name);