verify: Ensure we set set the autoptr value to NULL at definition

This commit is contained in:
Marco Trevisan (Treviño) 2019-11-22 17:31:50 +01:00
parent 9b48864c5b
commit 76dd4066f3

View file

@ -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);