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:
parent
21bac43015
commit
6725b22fd4
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue