dect
/
asterisk
Archived
13
0
Fork 0

Resolve some compiler warnings

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48950 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
russell 2006-12-25 02:06:47 +00:00
parent f3ff730fd7
commit 0b1ac5dd0b
1 changed files with 1 additions and 1 deletions

View File

@ -1084,7 +1084,7 @@ int ast_codec_pref_setsize(struct ast_codec_pref *pref, int format, int framems)
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) {