mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
test: Remove unused initialisers
Make the static analysis happy.
This commit is contained in:
committed by
Benjamin Berg
parent
8d4d56b1f1
commit
6d542edf8a
@@ -1891,7 +1891,7 @@ test_driver_action_error_all (void)
|
||||
g_autoptr(GPtrArray) prints = g_ptr_array_new_with_free_func (g_object_unref);
|
||||
g_autoptr(GError) error = NULL;
|
||||
FpDeviceClass *dev_class = FP_DEVICE_GET_CLASS (device);
|
||||
FpiDeviceFake *fake_dev = FPI_DEVICE_FAKE (device);
|
||||
FpiDeviceFake *fake_dev;
|
||||
|
||||
fake_dev = FPI_DEVICE_FAKE (device);
|
||||
fake_dev->return_action_error = TRUE;
|
||||
@@ -1962,7 +1962,7 @@ test_driver_action_error_fallback_all (void)
|
||||
g_autoptr(GPtrArray) prints = g_ptr_array_new_with_free_func (g_object_unref);
|
||||
g_autoptr(GError) error = NULL;
|
||||
FpDeviceClass *dev_class = FP_DEVICE_GET_CLASS (device);
|
||||
FpiDeviceFake *fake_dev = FPI_DEVICE_FAKE (device);
|
||||
FpiDeviceFake *fake_dev;
|
||||
|
||||
fake_dev = FPI_DEVICE_FAKE (device);
|
||||
fake_dev->return_action_error = TRUE;
|
||||
|
||||
Reference in New Issue
Block a user