synaptics: Fix warning about missing initialization

The compiler seems to (incorrectly) think that cleanup might happen
before the variable has been initialized.
This commit is contained in:
Benjamin Berg 2021-06-30 15:56:45 +02:00
parent ec9e6f1947
commit d957bbd0f4

View file

@ -461,7 +461,7 @@ create_print (FpiDeviceSynaptics *self,
guint8 finger_id)
{
FpPrint *print;
g_autofree gchar *user_id_safe;
g_autofree gchar *user_id_safe = NULL;
GVariant *data = NULL;
GVariant *uid = NULL;