From 5ebe76f13fb6e96cebe5a386024a73eceeb828ff Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Sat, 31 May 2008 22:13:03 +0930 Subject: config: init dev to NULL to shut up a valgrind warning. --- config/hal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') 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}; -- cgit v1.2.3