From: Jeff Peeler Date: Wed, 15 Sep 2010 20:58:39 +0000 (+0000) Subject: fix uninintialized variable X-Git-Tag: 1.8.0-rc1~3^2~40 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=08ed487a61137c1e4ccce4f42ea6302c32b39dcd;p=thirdparty%2Fasterisk.git fix uninintialized variable git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@287020 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/features.c b/main/features.c index 375870ed24..1689bb0193 100644 --- a/main/features.c +++ b/main/features.c @@ -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;