diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-05-31 22:13:03 +0930 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-06-02 10:26:03 +0930 |
commit | 5ebe76f13fb6e96cebe5a386024a73eceeb828ff (patch) | |
tree | d042d71a60e97d4cf41ba148ed290d61b0363f9a /config | |
parent | a7ae9cbd78193fdafcafd5d7af1f6fabbb434628 (diff) |
config: init dev to NULL to shut up a valgrind warning.
Diffstat (limited to 'config')
-rw-r--r-- | config/hal.c | 2 |
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}; |