mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 23:08:32 +00:00
Things don't need to be that const.
........ Merged revisions 375658 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 375659 from http://svn.asterisk.org/svn/asterisk/branches/10 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@375661 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -37,7 +37,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$");
|
||||
void ast_codec_pref_convert(struct ast_codec_pref *pref, char *buf, size_t size, int right)
|
||||
{
|
||||
size_t f_len;
|
||||
const const struct ast_format_list *f_list = ast_format_list_get(&f_len);
|
||||
const struct ast_format_list *f_list = ast_format_list_get(&f_len);
|
||||
int x, differential = (int) 'A', mem;
|
||||
char *from, *to;
|
||||
|
||||
@@ -120,7 +120,7 @@ void ast_codec_pref_remove(struct ast_codec_pref *pref, struct ast_format *forma
|
||||
struct ast_codec_pref oldorder;
|
||||
int x, y = 0;
|
||||
size_t f_len = 0;
|
||||
const const struct ast_format_list *f_list;
|
||||
const struct ast_format_list *f_list;
|
||||
|
||||
if (!pref->order[0]) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user