mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-14 00:24:05 +00:00
Address uninitialized conditional that valgrind found
........ Merged revisions 384162 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 384163 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@384164 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -25683,7 +25683,7 @@ static int handle_request_invite(struct sip_pvt *p, struct sip_request *req, str
|
||||
|
||||
/* Session-Timers */
|
||||
if ((p->sipoptions & SIP_OPT_TIMER)) {
|
||||
enum st_refresher_param st_ref_param;
|
||||
enum st_refresher_param st_ref_param = SESSION_TIMER_REFRESHER_PARAM_UNKNOWN;
|
||||
|
||||
/* The UAC has requested session-timers for this session. Negotiate
|
||||
the session refresh interval and who will be the refresher */
|
||||
|
@@ -317,7 +317,7 @@ struct ast_format_list ast_codec_pref_getsize(struct ast_codec_pref *pref, struc
|
||||
/*! \brief Pick a codec */
|
||||
struct ast_format *ast_codec_choose(struct ast_codec_pref *pref, struct ast_format_cap *cap, int find_best, struct ast_format *result)
|
||||
{
|
||||
int x, slot, found;
|
||||
int x, slot, found = 0;
|
||||
size_t f_len = 0;
|
||||
const struct ast_format_list *f_list = ast_format_list_get(&f_len);
|
||||
|
||||
|
Reference in New Issue
Block a user