mirror of
https://gitlab.freedesktop.org/libfprint/fprintd.git
synced 2025-12-24 17:10:10 +01:00
tests: Another uninitialised variable use
The GError was used without being initialised. https://bugs.freedesktop.org/show_bug.cgi?id=53900
This commit is contained in:
parent
b80f7359c3
commit
71bc81468f
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue