<p>Jenkins2 <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/7650">View Change</a></p><div style="white-space:pre-wrap">Approvals:
George Joseph: Looks good to me, but someone else must approve
Richard Mudgett: Looks good to me, approved
Jenkins2: Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">func_callerid: Initialize app argument structures.<br><br>This module uses AST_DEFINE_APP_ARGS_TYPE to define struct's instead of<br>directly using AST_DECLARE_APP_ARGS. Initialize the variables declared<br>in this way.<br><br>Change-Id: If97fbdd8d63a204e2efd498a192effc14e90fb31<br>---<br>M funcs/func_callerid.c<br>1 file changed, 9 insertions(+), 9 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/funcs/func_callerid.c b/funcs/func_callerid.c<br>index 527babb..0b6ab51 100644<br>--- a/funcs/func_callerid.c<br>+++ b/funcs/func_callerid.c<br>@@ -978,7 +978,7 @@<br> static int callerid_read(struct ast_channel *chan, const char *cmd, char *data, char *buf, size_t len)<br> {<br> char *parms;<br>- struct ast_party_members member;<br>+ struct ast_party_members member = { 0, };<br> AST_DECLARE_APP_ARGS(args,<br> AST_APP_ARG(member); /*!< Member name */<br> AST_APP_ARG(cid); /*!< Optional caller id to parse instead of from the channel. */<br>@@ -1135,8 +1135,8 @@<br> enum ID_FIELD_STATUS status;<br> char *val;<br> char *parms;<br>- struct ast_party_func_args args;<br>- struct ast_party_members member;<br>+ struct ast_party_func_args args = { 0, };<br>+ struct ast_party_members member = { 0, };<br> <br> if (!value || !chan) {<br> return -1;<br>@@ -1291,7 +1291,7 @@<br> */<br> static int connectedline_read(struct ast_channel *chan, const char *cmd, char *data, char *buf, size_t len)<br> {<br>- struct ast_party_members member;<br>+ struct ast_party_members member = { 0, };<br> char *read_what;<br> enum ID_FIELD_STATUS status;<br> <br>@@ -1359,8 +1359,8 @@<br> char *val;<br> char *parms;<br> void (*set_it)(struct ast_channel *chan, const struct ast_party_connected_line *connected, const struct ast_set_party_connected_line *update);<br>- struct ast_party_func_args args;<br>- struct ast_party_members member;<br>+ struct ast_party_func_args args = { 0, };<br>+ struct ast_party_members member = { 0, };<br> struct ast_flags opts;<br> char *opt_args[CONNECTED_LINE_OPT_ARG_ARRAY_SIZE];<br> enum ID_FIELD_STATUS status;<br>@@ -1464,7 +1464,7 @@<br> */<br> static int redirecting_read(struct ast_channel *chan, const char *cmd, char *data, char *buf, size_t len)<br> {<br>- struct ast_party_members member;<br>+ struct ast_party_members member = { 0, };<br> char *read_what;<br> const struct ast_party_redirecting *ast_redirecting;<br> enum ID_FIELD_STATUS status;<br>@@ -1601,8 +1601,8 @@<br> char *val;<br> char *parms;<br> void (*set_it)(struct ast_channel *chan, const struct ast_party_redirecting *redirecting, const struct ast_set_party_redirecting *update);<br>- struct ast_party_func_args args;<br>- struct ast_party_members member;<br>+ struct ast_party_func_args args = { 0, };<br>+ struct ast_party_members member = { 0, };<br> struct ast_flags opts;<br> char *opt_args[REDIRECTING_OPT_ARG_ARRAY_SIZE];<br> <br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/7650">change 7650</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/7650"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: If97fbdd8d63a204e2efd498a192effc14e90fb31 </div>
<div style="display:none"> Gerrit-Change-Number: 7650 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Corey Farrell <git@cfware.com> </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>