int ff_searchcount;
bool ff_eos;
char *p, *p2;
- uint32_t resume_key;
+ uint32_t resume_key = 0;
int i;
DATA_BLOB last_name_raw;
- struct file_info *finfo;
+ struct file_info *finfo = NULL;
size_t nlen, param_len;
min_param = (state->first ? 6 : 4);
struct event_context *ev;
struct tevent_req *req;
int i, num_finfo;
- struct file_info *finfo;
+ struct file_info *finfo = NULL;
NTSTATUS status = NT_STATUS_NO_MEMORY;
if (cli_has_async_calls(cli)) {