[asterisk-commits] russell: trunk r48950 - /trunk/main/frame.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sun Dec 24 19:06:48 MST 2006


Author: russell
Date: Sun Dec 24 20:06:47 2006
New Revision: 48950

URL: http://svn.digium.com/view/asterisk?view=rev&rev=48950
Log:
Resolve some compiler warnings

Modified:
    trunk/main/frame.c

Modified: trunk/main/frame.c
URL: http://svn.digium.com/view/asterisk/trunk/main/frame.c?view=diff&rev=48950&r1=48949&r2=48950
==============================================================================
--- trunk/main/frame.c (original)
+++ trunk/main/frame.c Sun Dec 24 20:06:47 2006
@@ -1084,7 +1084,7 @@
 struct ast_format_list ast_codec_pref_getsize(struct ast_codec_pref *pref, int format)
 {
 	int x, index = -1, framems = 0;
-	struct ast_format_list fmt;
+	struct ast_format_list fmt = { 0, };
 
 	for (x = 0; x < sizeof(AST_FORMAT_LIST) / sizeof(AST_FORMAT_LIST[0]); x++) {
 		if(AST_FORMAT_LIST[x].bits == format) {



More information about the asterisk-commits mailing list