[Asterisk-cvs] asterisk/res res_features.c,1.69,1.70

kpfleming kpfleming
Wed Sep 7 17:01:11 CDT 2005


Update of /usr/cvsroot/asterisk/res
In directory mongoose.digium.com:/tmp/cvs-serv31455/res

Modified Files:
	res_features.c 
Log Message:
remove useless buffer initializations (issue #5134)
convert pbx_dundi to use ast_copy_string) (issue #5134)


Index: res_features.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_features.c,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -d -r1.69 -r1.70
--- res_features.c	7 Sep 2005 18:55:03 -0000	1.69
+++ res_features.c	7 Sep 2005 21:01:31 -0000	1.70
@@ -247,7 +247,7 @@
 {
 	int res;
 	int justify[5] = {ADSI_JUST_CENT, ADSI_JUST_CENT, ADSI_JUST_CENT, ADSI_JUST_CENT};
-	char tmp[256] = "";
+	char tmp[256];
 	char *message[5] = {NULL, NULL, NULL, NULL, NULL};
 
 	snprintf(tmp, sizeof(tmp), "Parked on %d", parkingnum);




More information about the svn-commits mailing list