[Asterisk-code-review] lpc10: Avoid compiler warning when DONT OPTIMIZE/COMPILE DOU... (asterisk[15])

Jenkins2 asteriskteam at digium.com
Tue Oct 24 15:00:03 CDT 2017


Jenkins2 has submitted this change and it was merged. ( https://gerrit.asterisk.org/6898 )

Change subject: lpc10: Avoid compiler warning when DONT_OPTIMIZE/COMPILE_DOUBLE.
......................................................................

lpc10: Avoid compiler warning when DONT_OPTIMIZE/COMPILE_DOUBLE.

ASTERISK-23556
Reported by: Marcello Ceschia

Change-Id: Ic27e88e0336a0d83877dc857938659dc5560b93c
---
M codecs/lpc10/invert.c
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Joshua Colp: Looks good to me, but someone else must approve
  Corey Farrell: Looks good to me, but someone else must approve
  Matthew Fredrickson: Looks good to me, approved
  Jenkins2: Approved for Submit



diff --git a/codecs/lpc10/invert.c b/codecs/lpc10/invert.c
index 912117f..03c27e2 100644
--- a/codecs/lpc10/invert.c
+++ b/codecs/lpc10/invert.c
@@ -93,7 +93,8 @@
 /* Subroutine */ int invert_(integer *order, real *phi, real *psi, real *rc)
 {
     /* System generated locals */
-    integer phi_dim1, phi_offset, i__1, i__2, i__3;
+    unsigned i__2;
+    integer phi_dim1, phi_offset, i__1, i__3;
     real r__1, r__2;
 
     /* Local variables */

-- 
To view, visit https://gerrit.asterisk.org/6898
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 15
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic27e88e0336a0d83877dc857938659dc5560b93c
Gerrit-Change-Number: 6898
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
Gerrit-Reviewer: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Matthew Fredrickson <creslin at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20171024/97208b07/attachment.html>


More information about the asterisk-code-review mailing list