From 5b6f5c9aadf2c0ca1af91e14e44f047e15b4d906 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Wed, 15 Apr 2020 15:50:29 +0200 Subject: [PATCH] synaptics: Don't pass always-NULL value No need to pass "error" to this report function, it will always be NULL. --- libfprint/drivers/synaptics/synaptics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfprint/drivers/synaptics/synaptics.c b/libfprint/drivers/synaptics/synaptics.c index 1daf65f..9007d22 100644 --- a/libfprint/drivers/synaptics/synaptics.c +++ b/libfprint/drivers/synaptics/synaptics.c @@ -635,7 +635,7 @@ verify_msg_cb (FpiDeviceSynaptics *self, else if (resp->result == BMKT_FP_NO_MATCH) { fp_info ("Print didn't match"); - fpi_device_verify_report (device, FPI_MATCH_FAIL, NULL, error); + fpi_device_verify_report (device, FPI_MATCH_FAIL, NULL, NULL); verify_complete_after_finger_removal (self); } else if (resp->result == BMKT_FP_DATABASE_NO_RECORD_EXISTS)