[asterisk-addons-commits] russell: trunk r407 - /trunk/res_config_mysql.c

SVN commits to the Asterisk addons project asterisk-addons-commits at lists.digium.com
Fri Jun 29 09:50:06 CDT 2007


Author: russell
Date: Fri Jun 29 09:50:05 2007
New Revision: 407

URL: http://svn.digium.com/view/asterisk-addons?view=rev&rev=407
Log:
remove useless ast_realloca declaration that is no longer valid (closes issue #10086)

Modified:
    trunk/res_config_mysql.c

Modified: trunk/res_config_mysql.c
URL: http://svn.digium.com/view/asterisk-addons/trunk/res_config_mysql.c?view=diff&rev=407&r1=406&r2=407
==============================================================================
--- trunk/res_config_mysql.c (original)
+++ trunk/res_config_mysql.c Fri Jun 29 09:50:05 2007
@@ -203,7 +203,6 @@
 	char *chunk;
 	char *op;
 	const char *newparam, *newval;
-	struct ast_realloca ra;
 	struct ast_variable *var = NULL;
 	struct ast_config *cfg = NULL;
 	struct ast_category *cat = NULL;
@@ -213,8 +212,6 @@
 		return NULL;
 	}
 	
-	memset(&ra, 0, sizeof(ra));
-
 	cfg = ast_config_new();
 	if (!cfg) {
 		/* If I can't alloc memory at this point, why bother doing anything else? */




More information about the asterisk-addons-commits mailing list