summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-05-31 22:13:03 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-06-02 10:26:03 +0930
commit5ebe76f13fb6e96cebe5a386024a73eceeb828ff (patch)
treed042d71a60e97d4cf41ba148ed290d61b0363f9a /config
parenta7ae9cbd78193fdafcafd5d7af1f6fabbb434628 (diff)
config: init dev to NULL to shut up a valgrind warning.
Diffstat (limited to 'config')
-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};