From 4be0fc60a41827cc2ce742be857c6fce1e9d0ecd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Thu, 20 Feb 2025 14:17:55 +0100 Subject: [PATCH] mafpmoc: Init print id value --- libfprint/drivers/mafpmoc/mafpmoc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfprint/drivers/mafpmoc/mafpmoc.c b/libfprint/drivers/mafpmoc/mafpmoc.c index d03b013b..5f9f2620 100644 --- a/libfprint/drivers/mafpmoc/mafpmoc.c +++ b/libfprint/drivers/mafpmoc/mafpmoc.c @@ -466,7 +466,7 @@ mafp_sensor_control (FpiDeviceMafpmoc *self, static mafp_template_t mafp_template_from_print (FpPrint *print) { - const uint16_t tpl_id; + const uint16_t tpl_id = 0; g_autoptr(GVariant) data = NULL; g_autoptr(GVariant) tpl_uid = NULL;