[iortcw] 23/152: All: Fix a few opus warnings

Simon McVittie smcv at debian.org
Fri Sep 8 10:39:44 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to annotated tag 1.5a
in repository iortcw.

commit 4507f45a7ad25e12b45cae85abd9183109c65b5e
Author: MAN-AT-ARMS <M4N4T4RMS at gmail.com>
Date:   Sun Jan 24 09:39:51 2016 -0500

    All: Fix a few opus warnings
---
 MP/code/opus-1.1.2/silk/float/solve_LS_FLP.c | 2 +-
 MP/code/opusfile-0.7/src/http.c              | 2 +-
 SP/code/opus-1.1.2/silk/float/solve_LS_FLP.c | 2 +-
 SP/code/opusfile-0.7/src/http.c              | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/MP/code/opus-1.1.2/silk/float/solve_LS_FLP.c b/MP/code/opus-1.1.2/silk/float/solve_LS_FLP.c
index 7c90d66..b35f0a5 100644
--- a/MP/code/opus-1.1.2/silk/float/solve_LS_FLP.c
+++ b/MP/code/opus-1.1.2/silk/float/solve_LS_FLP.c
@@ -163,7 +163,7 @@ static OPUS_INLINE void silk_LDL_FLP(
     opus_int i, j, k, loop_count, err = 1;
     silk_float *ptr1, *ptr2;
     double temp, diag_min_value;
-    silk_float v[ MAX_MATRIX_SIZE ], D[ MAX_MATRIX_SIZE ]; /* temp arrays*/
+    silk_float v[ MAX_MATRIX_SIZE ] = { 0 }, D[ MAX_MATRIX_SIZE ]; /* temp arrays*/
 
     silk_assert( M <= MAX_MATRIX_SIZE );
 
diff --git a/MP/code/opusfile-0.7/src/http.c b/MP/code/opusfile-0.7/src/http.c
index cfd4e62..322242a 100644
--- a/MP/code/opusfile-0.7/src/http.c
+++ b/MP/code/opusfile-0.7/src/http.c
@@ -3349,7 +3349,7 @@ void *op_url_stream_vcreate_impl(OpusFileCallbacks *_cb,
 void *op_url_stream_vcreate(OpusFileCallbacks *_cb,
  const char *_url,va_list _ap){
   OpusServerInfo   info;
-  OpusServerInfo *pinfo;
+  OpusServerInfo *pinfo=NULL;
   void *ret;
   ret=op_url_stream_vcreate_impl(_cb,_url,&info,&pinfo,_ap);
   if(pinfo!=NULL)*pinfo=*&info;
diff --git a/SP/code/opus-1.1.2/silk/float/solve_LS_FLP.c b/SP/code/opus-1.1.2/silk/float/solve_LS_FLP.c
index 7c90d66..b35f0a5 100644
--- a/SP/code/opus-1.1.2/silk/float/solve_LS_FLP.c
+++ b/SP/code/opus-1.1.2/silk/float/solve_LS_FLP.c
@@ -163,7 +163,7 @@ static OPUS_INLINE void silk_LDL_FLP(
     opus_int i, j, k, loop_count, err = 1;
     silk_float *ptr1, *ptr2;
     double temp, diag_min_value;
-    silk_float v[ MAX_MATRIX_SIZE ], D[ MAX_MATRIX_SIZE ]; /* temp arrays*/
+    silk_float v[ MAX_MATRIX_SIZE ] = { 0 }, D[ MAX_MATRIX_SIZE ]; /* temp arrays*/
 
     silk_assert( M <= MAX_MATRIX_SIZE );
 
diff --git a/SP/code/opusfile-0.7/src/http.c b/SP/code/opusfile-0.7/src/http.c
index cfd4e62..322242a 100644
--- a/SP/code/opusfile-0.7/src/http.c
+++ b/SP/code/opusfile-0.7/src/http.c
@@ -3349,7 +3349,7 @@ void *op_url_stream_vcreate_impl(OpusFileCallbacks *_cb,
 void *op_url_stream_vcreate(OpusFileCallbacks *_cb,
  const char *_url,va_list _ap){
   OpusServerInfo   info;
-  OpusServerInfo *pinfo;
+  OpusServerInfo *pinfo=NULL;
   void *ret;
   ret=op_url_stream_vcreate_impl(_cb,_url,&info,&pinfo,_ap);
   if(pinfo!=NULL)*pinfo=*&info;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git



More information about the Pkg-games-commits mailing list