cleanup some warnings

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@639 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2006-02-21 15:05:18 +00:00
parent 681d2823e6
commit 2bea53541b
3 changed files with 5 additions and 7 deletions

View File

@@ -514,6 +514,9 @@ SWITCH_DECLARE(int) switch_loadable_module_get_codecs_sorted(switch_memory_pool
for (x = 0; x < preflen; x++) {
if ((codec_interface = switch_loadable_module_get_codec_interface(prefs[x])) != 0 ) {
array[i++] = codec_interface;
if (i > arraylen) {
break;
}
}
}