Commit 6725b22f authored by Bastien Nocera's avatar Bastien Nocera

lib: Fix uninitialised value in fp_print_data_load()

libfprint/fpi-data.c:497:7: warning: 2nd function call argument is an uninitialized value
        if (!fp_dev_supports_print_data(dev, fdata)) {
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
parent 21bac430
......@@ -483,7 +483,7 @@ API_EXPORTED int fp_print_data_load(struct fp_dev *dev,
enum fp_finger finger, struct fp_print_data **data)
{
gchar *path;
struct fp_print_data *fdata;
struct fp_print_data *fdata = NULL;
int r;
if (!base_store)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment