shithub: opus

Download patch

ref: 61832f162fea8d5a3d52524533429182b1127f2b
parent: b3369d07bded3d20c60982d8e1fa124fb989a0bf
author: Gregory Maxwell <[email protected]>
date: Mon Dec 22 13:15:42 EST 2008

Miscellaneous compiler warning cleanups.

--- a/libcelt/vq.c
+++ b/libcelt/vq.c
@@ -142,8 +142,8 @@
    /* Do a pre-search by projecting on the pyramid */
    if (K > (N>>1))
    {
-      celt_word32_t sum=0;
       celt_word16_t rcp;
+      sum=0;
       j=0; do {
          sum += X[j];
       }  while (++j<N);