led: Don't forget to init variable

This commit is contained in:
Guido Günther
2024-05-17 06:24:50 +00:00
committed by Guido Günther
parent b8718992d1
commit 973c7e006e
+1 -1
View File
@@ -57,7 +57,7 @@ fbd_dev_led_probe_default (FbdDevLed *led, GError **error)
{
FbdDevLedPrivate *priv = fbd_dev_led_get_instance_private (led);
const gchar *name, *path;
gboolean success;
gboolean success = FALSE;
name = g_udev_device_get_name (priv->dev);
/* We don't know anything about diffusors that can combine different