Commit 784152ba authored by Guido Gunther's avatar Guido Gunther Committed by Guido Gunther
Browse files

feedback-manager: Drop superfluous g_clear_error

The error is a g_autoptr
parent 81fda313
......@@ -80,10 +80,8 @@ device_changes (FbdFeedbackManager *self, gchar *action, GUdevDevice *device,
g_debug ("Found hotplugged vibra device at %s", g_udev_device_get_sysfs_path (device));
self->vibra = fbd_dev_vibra_new (device, &err);
if (!self->vibra) {
if (!self->vibra)
g_warning ("Failed to init vibra device: %s", err->message);
g_clear_error (&err);
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