summaryrefslogtreecommitdiff
path: root/src/hwdep
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2001-08-08 18:52:25 +0000
committerJaroslav Kysela <perex@perex.cz>2001-08-08 18:52:25 +0000
commitf22f8388ad52d60b26726dca517706659321c36e (patch)
treeec2d9643c50a3f982326885f450bc85bec3aee42 /src/hwdep
parent5fd61eaf90c6f5663f2c10ea32c7980e7d7a3ffb (diff)
downloadalsa-lib-f22f8388ad52d60b26726dca517706659321c36e.tar.gz
Fixed broken initialization
Diffstat (limited to 'src/hwdep')
-rw-r--r--src/hwdep/hwdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hwdep/hwdep.c b/src/hwdep/hwdep.c
index 77881803..c3621e05 100644
--- a/src/hwdep/hwdep.c
+++ b/src/hwdep/hwdep.c
@@ -44,7 +44,7 @@ static int snd_hwdep_open_conf(snd_hwdep_t **hwdep,
const char *str;
char buf[256];
int err;
- snd_config_t *conf, *type_conf;
+ snd_config_t *conf, *type_conf = NULL;
snd_config_iterator_t i, next;
const char *lib = NULL, *open_name = NULL;
int (*open_func)(snd_hwdep_t **, const char *, snd_config_t *, snd_config_t *, int) = NULL;