From ce2478c89f21811029097c6bc06455ca69d42214 Mon Sep 17 00:00:00 2001 From: Benjamin Berg Date: Fri, 22 Nov 2019 17:31:29 +0100 Subject: [PATCH 2/2] Fix missing initialization Seems like the compiler on ppc64 will sometimes report this as a missing initialization. Technically this is not true, as the variable will always be initialized before the scope is left. But, lets make the compiler happy about this. --- examples/verify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/verify.c b/examples/verify.c index 89a9b2c..4e1c988 100644 --- a/examples/verify.c +++ b/examples/verify.c @@ -182,7 +182,7 @@ start_verification (FpDevice *dev, VerifyData *verify_data) { g_print ("Loading previously enrolled %s finger data...\n", finger_to_string (verify_data->finger)); - g_autoptr(FpPrint) verify_print; + g_autoptr(FpPrint) verify_print = NULL; verify_print = print_data_load (dev, verify_data->finger); -- 2.23.0