tests: Annotate a few variables as unused
These solely exist for memory management, but the static analysis complains.
This commit is contained in:
parent
6e30a1ee45
commit
8d4d56b1f1
1 changed files with 2 additions and 2 deletions
|
@ -635,7 +635,7 @@ test_driver_enroll_progress (void)
|
||||||
{
|
{
|
||||||
g_autoptr(FpAutoResetClass) dev_class = auto_reset_device_class ();
|
g_autoptr(FpAutoResetClass) dev_class = auto_reset_device_class ();
|
||||||
g_autoptr(FpAutoCloseDevice) device = NULL;
|
g_autoptr(FpAutoCloseDevice) device = NULL;
|
||||||
g_autoptr(FpPrint) enrolled_print = NULL;
|
G_GNUC_UNUSED g_autoptr(FpPrint) enrolled_print = NULL;
|
||||||
ExpectedEnrollData expected_enroll_data = {0};
|
ExpectedEnrollData expected_enroll_data = {0};
|
||||||
FpiDeviceFake *fake_dev;
|
FpiDeviceFake *fake_dev;
|
||||||
|
|
||||||
|
@ -1355,7 +1355,7 @@ test_driver_identify_report_no_callback (void)
|
||||||
g_autoptr(MatchCbData) match_data = g_new0 (MatchCbData, 1);
|
g_autoptr(MatchCbData) match_data = g_new0 (MatchCbData, 1);
|
||||||
g_autoptr(GPtrArray) prints = g_ptr_array_new_with_free_func (g_object_unref);
|
g_autoptr(GPtrArray) prints = g_ptr_array_new_with_free_func (g_object_unref);
|
||||||
g_autoptr(FpAutoCloseDevice) device = NULL;
|
g_autoptr(FpAutoCloseDevice) device = NULL;
|
||||||
g_autoptr(FpPrint) enrolled_print = NULL;
|
G_GNUC_UNUSED g_autoptr(FpPrint) enrolled_print = NULL;
|
||||||
g_autoptr(FpPrint) print = NULL;
|
g_autoptr(FpPrint) print = NULL;
|
||||||
g_autoptr(FpPrint) match = NULL;
|
g_autoptr(FpPrint) match = NULL;
|
||||||
g_autoptr(GError) error = NULL;
|
g_autoptr(GError) error = NULL;
|
||||||
|
|
Loading…
Reference in a new issue