summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/hal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/hal.c b/config/hal.c
index 1d62a1de1..f4eb438ea 100644
--- a/config/hal.c
+++ b/config/hal.c
@@ -173,7 +173,7 @@ device_added(LibHalContext *hal_ctx, const char *udi)
{
char *path = NULL, *driver = NULL, *name = NULL, *config_info = NULL;
InputOption *options = NULL, *tmpo = NULL;
- DeviceIntPtr dev;
+ DeviceIntPtr dev = NULL;
DBusError error;
struct xkb_options xkb_opts = {0};