Commit fabc2ef3 authored by Zeeshan Ali (Khattak)'s avatar Zeeshan Ali (Khattak)
Browse files

Don't use uninitialized pointer

This fixes a regression in commit c7238cb7.
parent c7238cb7
......@@ -403,8 +403,7 @@ device_proxy_new_cb (GObject *source_object,
value = g_dbus_proxy_get_cached_property (nm_device->proxy,
value = g_dbus_proxy_get_cached_property (device_proxy, "DeviceType");
if (G_UNLIKELY (!value)) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment