From 31f9a250bef8762182443f74f80b4d82e95f0519 Mon Sep 17 00:00:00 2001 From: Joshua Grisham Date: Sat, 13 Sep 2025 13:13:19 +0200 Subject: [PATCH] sdcp: uncrustify --- libfprint/drivers/virtual-sdcp.c | 10 +++++----- libfprint/fpi-sdcp-device.c | 2 ++ 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/libfprint/drivers/virtual-sdcp.c b/libfprint/drivers/virtual-sdcp.c index 83c37a67..d68a43ab 100644 --- a/libfprint/drivers/virtual-sdcp.c +++ b/libfprint/drivers/virtual-sdcp.c @@ -43,7 +43,7 @@ struct _FpDeviceVirtualSdcp { FpSdcpDevice parent; - GPtrArray *print_ids; + GPtrArray *print_ids; }; G_DECLARE_FINAL_TYPE (FpDeviceVirtualSdcp, fpi_device_virtual_sdcp, FPI, DEVICE_VIRTUAL_SDCP, FpSdcpDevice) @@ -105,10 +105,10 @@ dev_identify (FpSdcpDevice *sdcp_device) if (self->print_ids->len > 0) { /* - * Pretend that the virtual device identified the first print. - * Since we used a pre-generated enrollment_id for it, we can also use the - * matching pre-generated test identify data for its identification. - */ + * Pretend that the virtual device identified the first print. + * Since we used a pre-generated enrollment_id for it, we can also use the + * matching pre-generated test identify data for its identification. + */ identify_nonce = g_bytes_from_hex (identify_nonce_hex); enrollment_id = g_bytes_from_hex (enrollment_id_hex); fpi_sdcp_device_set_identify_data (sdcp_device, identify_nonce); diff --git a/libfprint/fpi-sdcp-device.c b/libfprint/fpi-sdcp-device.c index 04e774b0..82384dc7 100644 --- a/libfprint/fpi-sdcp-device.c +++ b/libfprint/fpi-sdcp-device.c @@ -277,6 +277,7 @@ void fpi_sdcp_device_enroll (FpSdcpDevice *self) { FpSdcpDeviceClass *cls = FP_SDCP_DEVICE_GET_CLASS (self); + g_autoptr(GBytes) application_secret = NULL; FpPrint *print; @@ -298,6 +299,7 @@ fpi_sdcp_device_identify (FpSdcpDevice *self) { FpSdcpDevicePrivate *priv = fp_sdcp_device_get_instance_private (self); FpSdcpDeviceClass *cls = FP_SDCP_DEVICE_GET_CLASS (self); + g_autoptr(GBytes) application_secret = NULL; FpiDeviceAction action; GError *error = NULL;