]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
fix uninintialized variable
authorJeff Peeler <jpeeler@digium.com>
Wed, 15 Sep 2010 20:58:39 +0000 (20:58 +0000)
committerJeff Peeler <jpeeler@digium.com>
Wed, 15 Sep 2010 20:58:39 +0000 (20:58 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287020 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/features.c

index 375870ed24e93d85bcb7f04dffcede1b90a1ce31..1689bb01938a61dbd862a266a8a128f46c97ea94 100644 (file)
@@ -744,7 +744,7 @@ static struct parkeduser *park_space_reserve(struct ast_channel *chan, struct as
        int i, parking_space = -1, parking_range;
        const char *parkinglotname = NULL;
        const char *parkingexten;
-       struct ast_parkinglot *parkinglot;
+       struct ast_parkinglot *parkinglot = NULL;
 
        if (args->parkinglot) {
                parkinglot = args->parkinglot;