From 814a7f66c02cc6c1346c403a6bf0c1a95461a0cf Mon Sep 17 00:00:00 2001
From: Jason Parker <jparker@digium.com>
Date: Tue, 4 Dec 2007 17:35:40 +0000
Subject: [PATCH] Fix build in trunk.  This was fixed in 1.4, but blocked in
 trunk since this hadn't been merged yet.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@90877 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 apps/app_dial.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/app_dial.c b/apps/app_dial.c
index 20ea83e571..af5a877d2a 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)) {
-- 
GitLab