diff options
author | Sean Bright <sean@malleable.com> | 2008-08-07 00:44:55 +0000 |
---|---|---|
committer | Sean Bright <sean@malleable.com> | 2008-08-07 00:44:55 +0000 |
commit | b7a4db0ced614b2a619a02227883528a7bb0a1a6 (patch) | |
tree | 80d01b854334393ac9a340bc94f6fc74bd041827 /formats/format_pcm.c | |
parent | 367dfcb0ab6d7d47b39ed0a10ca84e51b73b6732 (diff) |
Start moving in changes from my resolve-shadow-warnings branch. Going to do
this in pieces so the diffs are a little bit smaller and more reviewable.
pbx/ and formats/ first.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136298 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'formats/format_pcm.c')
-rw-r--r-- | formats/format_pcm.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/formats/format_pcm.c b/formats/format_pcm.c index fdf0c32b8..75d3ce66f 100644 --- a/formats/format_pcm.c +++ b/formats/format_pcm.c @@ -469,13 +469,13 @@ static const struct ast_format au_f = { static int load_module(void) { - int index; + int i; /* XXX better init ? */ - for (index = 0; index < ARRAY_LEN(ulaw_silence); index++) - ulaw_silence[index] = AST_LIN2MU(0); - for (index = 0; index < ARRAY_LEN(alaw_silence); index++) - alaw_silence[index] = AST_LIN2A(0); + for (i = 0; i < ARRAY_LEN(ulaw_silence); i++) + ulaw_silence[i] = AST_LIN2MU(0); + for (i = 0; i < ARRAY_LEN(alaw_silence); i++) + alaw_silence[i] = AST_LIN2A(0); if ( ast_format_register(&pcm_f) || ast_format_register(&alaw_f) |