diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-25 02:06:47 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-25 02:06:47 +0000 |
commit | 0b1ac5dd0b9ef4191c21a0217aef38fc99727039 (patch) | |
tree | ba0925ec699e92c784fc4e84d84b95650a569a1d /main/frame.c | |
parent | f3ff730fd70258d1c1ee77d5f958fb29eaa9dbce (diff) |
Resolve some compiler warnings
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48950 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/frame.c')
-rw-r--r-- | main/frame.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/frame.c b/main/frame.c index 52d5ecfc2..0e46dcdca 100644 --- a/main/frame.c +++ b/main/frame.c @@ -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) { |