elanmoc: Fix warning

Really, it shouldn't matter, as there is no return. But adding the NULL
initializer does not harm either.
This commit is contained in:
Benjamin Berg 2021-09-15 15:54:25 +02:00
parent df41ed56f6
commit d763f8f41a

View file

@ -806,7 +806,7 @@ elanmoc_enroll (FpDevice *device)
FpPrint *print = NULL;
GVariant *data = NULL;
GVariant *uid = NULL;
g_autofree gchar *user_id;
g_autofree gchar *user_id = NULL;
gsize user_id_len;
guint8 *userdata = g_malloc0 (ELAN_USERDATE_SIZE);