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)) {
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This commit is contained in:
Bastien Nocera 2018-12-12 15:38:47 +01:00
parent 21bac43015
commit 6725b22fd4

View file

@ -483,7 +483,7 @@ API_EXPORTED int fp_print_data_load(struct fp_dev *dev,
enum fp_finger finger, struct fp_print_data **data) enum fp_finger finger, struct fp_print_data **data)
{ {
gchar *path; gchar *path;
struct fp_print_data *fdata; struct fp_print_data *fdata = NULL;
int r; int r;
if (!base_store) if (!base_store)