mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
Fix compiler warning.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@308624 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -843,12 +843,18 @@ static void handle_cli_recalc(struct ast_cli_args *a)
|
|||||||
|
|
||||||
static char *handle_show_translation_table(struct ast_cli_args *a)
|
static char *handle_show_translation_table(struct ast_cli_args *a)
|
||||||
{
|
{
|
||||||
int x, y, i, k;
|
int x;
|
||||||
int curlen = 0, longest = 0;
|
int y;
|
||||||
int f_len = 0;
|
int i;
|
||||||
const struct ast_format_list *f_list = ast_format_list_get((size_t *) &f_len);
|
int k;
|
||||||
|
int curlen = 0;
|
||||||
|
int longest = 0;
|
||||||
|
int f_len;
|
||||||
|
size_t f_size = 0;
|
||||||
|
const struct ast_format_list *f_list = ast_format_list_get(&f_size);
|
||||||
struct ast_str *out = ast_str_create(1024);
|
struct ast_str *out = ast_str_create(1024);
|
||||||
|
|
||||||
|
f_len = f_size;
|
||||||
AST_RWLIST_RDLOCK(&translators);
|
AST_RWLIST_RDLOCK(&translators);
|
||||||
ast_cli(a->fd, " Translation times between formats (in microseconds) for one second of data\n");
|
ast_cli(a->fd, " Translation times between formats (in microseconds) for one second of data\n");
|
||||||
ast_cli(a->fd, " Source Format (Rows) Destination Format (Columns)\n\n");
|
ast_cli(a->fd, " Source Format (Rows) Destination Format (Columns)\n\n");
|
||||||
|
Reference in New Issue
Block a user