]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Fix compiler warning.
authorRichard Mudgett <rmudgett@digium.com>
Tue, 13 Oct 2009 17:11:05 +0000 (17:11 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 13 Oct 2009 17:11:05 +0000 (17:11 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@223911 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_calendar.c

index abbfc4d7e4a6402c8769fd90690803cbcccd902e..c191c846ba2ea9bcd1898fe9189c33c450dbfa62 100644 (file)
@@ -625,7 +625,7 @@ static const struct ast_channel_tech null_tech = {
 static void *do_notify(void *data)
 {
        struct ast_calendar_event *event = data;
-       struct ast_dial *dial;
+       struct ast_dial *dial = NULL;
        struct ast_str *apptext = NULL;
        struct ast_datastore *datastore;
        enum ast_dial_result res;