led: Don't forget to init variable
This commit is contained in:
committed by
Guido Günther
parent
b8718992d1
commit
973c7e006e
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user