summaryrefslogtreecommitdiff
path: root/src/confmisc.c
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2001-11-26 13:39:15 +0000
committerJaroslav Kysela <perex@perex.cz>2001-11-26 13:39:15 +0000
commit2fe0d1995c94508fec2f64bfc517535e504e5d85 (patch)
treeec7d3b5f3eacfc9c307759c87456bac0ac6f670f /src/confmisc.c
parent26c3afa17117c075c84825e1a84cdee73f41d777 (diff)
Cleanups
Diffstat (limited to 'src/confmisc.c')
-rw-r--r--src/confmisc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/confmisc.c b/src/confmisc.c
index 09617768..30e4207e 100644
--- a/src/confmisc.c
+++ b/src/confmisc.c
@@ -501,7 +501,6 @@ int snd_func_private_string(snd_config_t **dst, snd_config_t *root ATTRIBUTE_UNU
snd_config_t *src, snd_config_t *private_data)
{
int err;
- snd_config_t *n;
const char *str, *id;
if (private_data == NULL)
@@ -578,7 +577,6 @@ int snd_func_private_card_driver(snd_config_t **dst, snd_config_t *root ATTRIBUT
snd_config_t *private_data)
{
char *driver;
- snd_config_t *n;
const char *id;
int err;
long card;
@@ -588,7 +586,7 @@ int snd_func_private_card_driver(snd_config_t **dst, snd_config_t *root ATTRIBUT
SNDERR("field card not found");
return -EINVAL;
}
- err = snd_config_get_integer(n, &card);
+ err = snd_config_get_integer(private_data, &card);
if (err < 0) {
SNDERR("field card is not an integer");
return err;
@@ -846,7 +844,6 @@ int snd_func_private_pcm_subdevice(snd_config_t **dst, snd_config_t *root ATTRIB
snd_config_t *src, snd_config_t *private_data)
{
snd_pcm_info_t *info;
- snd_config_t *n;
const char *id;
snd_pcm_t *pcm;
int err;