From: Benoit Fouet <benoit.fouet@purplelabs.com>
To: alsa-devel@lists.sourceforge.net
Subject: initialize dl handles where it needs to
Date: Mon, 08 Jan 2007 14:37:45 +0100 [thread overview]
Message-ID: <45A24929.50500@purplelabs.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 155 bytes --]
Hi,
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>
[-- Attachment #2: dl_handle_init_diff --]
[-- Type: text/plain, Size: 1028 bytes --]
diff -r b838a4b481c2 src/timer/timer.c
--- a/src/timer/timer.c Wed Dec 20 16:01:27 2006 +0100
+++ b/src/timer/timer.c Mon Jan 8 14:22:29 2007 +0100
@@ -92,7 +92,7 @@ static int snd_timer_open_conf(snd_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);
diff -r b838a4b481c2 src/timer/timer_query.c
--- a/src/timer/timer_query.c Wed Dec 20 16:01:27 2006 +0100
+++ b/src/timer/timer_query.c Mon Jan 8 14:22:29 2007 +0100
@@ -50,7 +50,7 @@ static int snd_timer_query_open_conf(snd
#ifndef PIC
extern void *snd_timer_query_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);
[-- Attachment #3: Type: text/plain, Size: 347 bytes --]
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
[-- Attachment #4: Type: text/plain, Size: 161 bytes --]
_______________________________________________
Alsa-devel mailing list
Alsa-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-devel
next reply other threads:[~2007-01-08 13:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-08 13:37 Benoit Fouet [this message]
2007-01-08 14:10 ` initialize dl handles where it needs to Takashi Iwai
2007-01-08 14:15 ` Benoit Fouet
2007-01-08 14:34 ` Takashi Iwai
2007-01-08 14:50 ` Benoit Fouet
2007-01-08 15:25 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45A24929.50500@purplelabs.com \
--to=benoit.fouet@purplelabs.com \
--cc=alsa-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.