<p>Jenkins2 <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/8786">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Joshua Colp: Looks good to me, but someone else must approve
  Matthew Fredrickson: 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;">chan_vpb: Avoid GNU old-style field designator extension.<br><br>clang 6.0 warned about this. Beside that, this change removes the used variable<br>'desc'.<br><br>ASTERISK-27808<br><br>Change-Id: Ia26bdcc0a562c058151814511cfcf70ecafa595b<br>---<br>M channels/chan_vpb.cc<br>1 file changed, 62 insertions(+), 63 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/channels/chan_vpb.cc b/channels/chan_vpb.cc<br>index 1736cc6..7fdb9ed 100644<br>--- a/channels/chan_vpb.cc<br>+++ b/channels/chan_vpb.cc<br>@@ -108,7 +108,6 @@<br> #endif<br> /**/<br> <br>-static const char desc[] = "VoiceTronix V6PCI/V12PCI/V4PCI  API Support";<br> static const char tdesc[] = "Standard VoiceTronix API Driver";<br> static const char config[] = "vpb.conf";<br> <br>@@ -360,71 +359,71 @@<br> static int vpb_fixup(struct ast_channel *oldchan, struct ast_channel *newchan);<br> <br> static struct ast_channel_tech vpb_tech = {<br>-    type: "vpb",<br>-       description: tdesc,<br>-  capabilities: NULL,<br>-  properties: 0,<br>-       requester: vpb_request,<br>-      requester_with_stream_topology: NULL,<br>-        devicestate: NULL,<br>-   presencestate: NULL,<br>- send_digit_begin: vpb_digit_begin,<br>-   send_digit_end: vpb_digit_end,<br>-       call: vpb_call,<br>-      hangup: vpb_hangup,<br>-  answer: vpb_answer,<br>-  read: vpb_read,<br>-      read_stream: NULL,<br>-   write: vpb_write,<br>-    write_stream: NULL,<br>-  send_text: NULL,<br>-     send_image: NULL,<br>-    send_html: NULL,<br>-     exception: NULL,<br>-     early_bridge: NULL,<br>-  indicate: vpb_indicate,<br>-      fixup: vpb_fixup,<br>-    setoption: NULL,<br>-     queryoption: NULL,<br>-   transfer: NULL,<br>-      write_video: NULL,<br>-   write_text: NULL,<br>-    func_channel_read: NULL,<br>-     func_channel_write: NULL,<br>+    .type = "vpb",<br>+     .description = tdesc,<br>+        .capabilities = NULL,<br>+        .properties = 0,<br>+     .requester = vpb_request,<br>+    .requester_with_stream_topology = NULL,<br>+      .devicestate = NULL,<br>+ .presencestate = NULL,<br>+       .send_digit_begin = vpb_digit_begin,<br>+ .send_digit_end = vpb_digit_end,<br>+     .call = vpb_call,<br>+    .hangup = vpb_hangup,<br>+        .answer = vpb_answer,<br>+        .read = vpb_read,<br>+    .read_stream = NULL,<br>+ .write = vpb_write,<br>+  .write_stream = NULL,<br>+        .send_text = NULL,<br>+   .send_image = NULL,<br>+  .send_html = NULL,<br>+   .exception = NULL,<br>+   .early_bridge = NULL,<br>+        .indicate = vpb_indicate,<br>+    .fixup = vpb_fixup,<br>+  .setoption = NULL,<br>+   .queryoption = NULL,<br>+ .transfer = NULL,<br>+    .write_video = NULL,<br>+ .write_text = NULL,<br>+  .func_channel_read = NULL,<br>+   .func_channel_write = NULL,<br> };<br> <br> static struct ast_channel_tech vpb_tech_indicate = {<br>-   type: "vpb",<br>-       description: tdesc,<br>-  capabilities: NULL,<br>-  properties: 0,<br>-       requester: vpb_request,<br>-      requester_with_stream_topology: NULL,<br>-        devicestate: NULL,<br>-   presencestate: NULL,<br>- send_digit_begin: vpb_digit_begin,<br>-   send_digit_end: vpb_digit_end,<br>-       call: vpb_call,<br>-      hangup: vpb_hangup,<br>-  answer: vpb_answer,<br>-  read: vpb_read,<br>-      read_stream: NULL,<br>-   write: vpb_write,<br>-    write_stream: NULL,<br>-  send_text: NULL,<br>-     send_image: NULL,<br>-    send_html: NULL,<br>-     exception: NULL,<br>-     early_bridge: NULL,<br>-  indicate: NULL,<br>-      fixup: vpb_fixup,<br>-    setoption: NULL,<br>-     queryoption: NULL,<br>-   transfer: NULL,<br>-      write_video: NULL,<br>-   write_text: NULL,<br>-    func_channel_read: NULL,<br>-     func_channel_write: NULL,<br>+    .type = "vpb",<br>+     .description = tdesc,<br>+        .capabilities = NULL,<br>+        .properties = 0,<br>+     .requester = vpb_request,<br>+    .requester_with_stream_topology = NULL,<br>+      .devicestate = NULL,<br>+ .presencestate = NULL,<br>+       .send_digit_begin = vpb_digit_begin,<br>+ .send_digit_end = vpb_digit_end,<br>+     .call = vpb_call,<br>+    .hangup = vpb_hangup,<br>+        .answer = vpb_answer,<br>+        .read = vpb_read,<br>+    .read_stream = NULL,<br>+ .write = vpb_write,<br>+  .write_stream = NULL,<br>+        .send_text = NULL,<br>+   .send_image = NULL,<br>+  .send_html = NULL,<br>+   .exception = NULL,<br>+   .early_bridge = NULL,<br>+        .indicate = NULL,<br>+    .fixup = vpb_fixup,<br>+  .setoption = NULL,<br>+   .queryoption = NULL,<br>+ .transfer = NULL,<br>+    .write_video = NULL,<br>+ .write_text = NULL,<br>+  .func_channel_read = NULL,<br>+   .func_channel_write = NULL,<br> };<br> <br> #if defined(VPB_NATIVE_BRIDGING)<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/8786">change 8786</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/8786"/><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: Ia26bdcc0a562c058151814511cfcf70ecafa595b </div>
<div style="display:none"> Gerrit-Change-Number: 8786 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Alexander Traud <pabstraud@compuserve.com> </div>
<div style="display:none"> Gerrit-Reviewer: Alexander Traud <pabstraud@compuserve.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Matthew Fredrickson <creslin@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>