From: Jason Parker Date: Tue, 4 Dec 2007 17:35:40 +0000 (+0000) Subject: Fix build in trunk. This was fixed in 1.4, but blocked in trunk since this hadn... X-Git-Tag: 1.6.0-beta1~3^2~564 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=814a7f66c02cc6c1346c403a6bf0c1a95461a0cf;p=thirdparty%2Fasterisk.git 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 --- 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)) {