Commit 71bc8146 authored by Patrick Marlier's avatar Patrick Marlier Committed by Bastien Nocera
Browse files

tests: Another uninitialised variable use

The GError was used without being initialised.

https://bugs.freedesktop.org/show_bug.cgi?id=53900
parent b80f7359
......@@ -82,7 +82,7 @@ static void enroll_result(GObject *object, const char *result, gboolean done, vo
static void do_enroll(DBusGProxy *dev)
{
GError *error;
GError *error = NULL;
gboolean enroll_completed = FALSE;
dbus_g_proxy_add_signal(dev, "EnrollStatus", G_TYPE_STRING, G_TYPE_BOOLEAN, NULL);
......
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