summaryrefslogtreecommitdiffstats
path: root/HAL-afb/HAL-plugin/HalPlugCtl.c
diff options
context:
space:
mode:
Diffstat (limited to 'HAL-afb/HAL-plugin/HalPlugCtl.c')
-rw-r--r--HAL-afb/HAL-plugin/HalPlugCtl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/HAL-afb/HAL-plugin/HalPlugCtl.c b/HAL-afb/HAL-plugin/HalPlugCtl.c
index 01feedd..181d4f8 100644
--- a/HAL-afb/HAL-plugin/HalPlugCtl.c
+++ b/HAL-afb/HAL-plugin/HalPlugCtl.c
@@ -48,7 +48,7 @@
static snd_ctl_ext_key_t AfbHalElemFind(snd_ctl_ext_t *ext, const snd_ctl_elem_id_t *id) {
snd_ctl_hal_t *plughandle = (snd_ctl_hal_t*) ext->private_data;
- snd_ctl_ext_key_t key;
+ snd_ctl_ext_key_t key=NULL;
int numid = snd_ctl_elem_id_get_numid(id);
if (numid > 0) {