mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02: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:
committed by
Bastien Nocera
parent
b80f7359c3
commit
71bc81468f
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user