config: init dev to NULL to shut up a valgrind warning.

This commit is contained in:
Peter Hutterer 2008-05-31 22:13:03 +09:30
parent a7ae9cbd78
commit 5ebe76f13f

View File

@ -173,7 +173,7 @@ device_added(LibHalContext *hal_ctx, const char *udi)
{ {
char *path = NULL, *driver = NULL, *name = NULL, *config_info = NULL; char *path = NULL, *driver = NULL, *name = NULL, *config_info = NULL;
InputOption *options = NULL, *tmpo = NULL; InputOption *options = NULL, *tmpo = NULL;
DeviceIntPtr dev; DeviceIntPtr dev = NULL;
DBusError error; DBusError error;
struct xkb_options xkb_opts = {0}; struct xkb_options xkb_opts = {0};