[asterisk-commits] jpeeler: branch 1.8 r287020 - /branches/1.8/main/features.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Sep 15 15:58:43 CDT 2010


Author: jpeeler
Date: Wed Sep 15 15:58:39 2010
New Revision: 287020

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=287020
Log:
fix uninintialized variable

Modified:
    branches/1.8/main/features.c

Modified: branches/1.8/main/features.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/main/features.c?view=diff&rev=287020&r1=287019&r2=287020
==============================================================================
--- branches/1.8/main/features.c (original)
+++ branches/1.8/main/features.c Wed Sep 15 15:58:39 2010
@@ -744,7 +744,7 @@
 	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;




More information about the asterisk-commits mailing list