Fix build in trunk. This was fixed in 1.4, but blocked in trunk since this hadn...
authorJason Parker <jparker@digium.com>
Tue, 4 Dec 2007 17:35:40 +0000 (17:35 +0000)
committerJason Parker <jparker@digium.com>
Tue, 4 Dec 2007 17:35:40 +0000 (17:35 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@90877 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_dial.c

index 20ea83e..af5a877 100644 (file)
@@ -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)) {