mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
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:
@@ -461,7 +461,7 @@ create_print (FpiDeviceSynaptics *self,
|
|||||||
guint8 finger_id)
|
guint8 finger_id)
|
||||||
{
|
{
|
||||||
FpPrint *print;
|
FpPrint *print;
|
||||||
g_autofree gchar *user_id_safe;
|
g_autofree gchar *user_id_safe = NULL;
|
||||||
GVariant *data = NULL;
|
GVariant *data = NULL;
|
||||||
GVariant *uid = NULL;
|
GVariant *uid = NULL;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user