diff --git a/apps/app_dial.c b/apps/app_dial.c index 20ea83e571586a2109b5cb5b13e2c2ab6cfb4d75..af5a877d2a8e158a26659e85f0dc2360113d9e06 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -1244,7 +1244,7 @@ static int dial_exec_full(struct ast_channel *chan, void *data, struct ast_flags ); struct ast_flags64 opts = { 0, }; char *opt_args[OPT_ARG_ARRAY_SIZE]; - struct ast_datastore *datastore; + struct ast_datastore *datastore = NULL; int fulldial = 0, num_dialed = 0; if (ast_strlen_zero(data)) {