From ba77eb5f439890cbacbb0301616a5b0ac879bf5d Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Mon, 25 Apr 2016 13:47:12 +0200 Subject: [PATCH] bluetooth: add a missing GError initializer (cherry picked from commit 3ad7be3e6a124fe9e279ec6d9de06c423ca50cc2) (cherry picked from commit a57227914e1bb6f60058c9cbd1a33ba12401f8e3) --- src/devices/bluetooth/nm-bluez-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/bluetooth/nm-bluez-device.c b/src/devices/bluetooth/nm-bluez-device.c index e6a62121d0..576c6a3555 100644 --- a/src/devices/bluetooth/nm-bluez-device.c +++ b/src/devices/bluetooth/nm-bluez-device.c @@ -793,7 +793,7 @@ static void adapter5_on_acquired (GObject *object, GAsyncResult *res, NMBluezDevice *self) { NMBluezDevicePrivate *priv = NM_BLUEZ_DEVICE_GET_PRIVATE (self); - GError *error; + GError *error = NULL; GVariant *v; priv->adapter5 = g_dbus_proxy_new_for_bus_finish (res, &error);