From 1593f5c3bf2286072ec1534a78658bd39b022d97 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Mon, 25 Aug 2014 14:48:49 +0100 Subject: Fix assorted warnings --- src/opus-1.1/silk/float/solve_LS_FLP.c | 2 +- src/opusfile-0.5/src/opusfile.c | 6 +++--- src/renderercommon/qgl.h | 6 +++--- src/renderergl2/tr_extensions.c | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/opus-1.1/silk/float/solve_LS_FLP.c b/src/opus-1.1/silk/float/solve_LS_FLP.c index 7c90d665..b35f0a57 100644 --- a/src/opus-1.1/silk/float/solve_LS_FLP.c +++ b/src/opus-1.1/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/src/opusfile-0.5/src/opusfile.c b/src/opusfile-0.5/src/opusfile.c index 392ddb29..aaabdd1c 100644 --- a/src/opusfile-0.5/src/opusfile.c +++ b/src/opusfile-0.5/src/opusfile.c @@ -1715,7 +1715,7 @@ opus_int64 op_raw_total(const OggOpusFile *_of,int _li){ ogg_int64_t op_pcm_total(const OggOpusFile *_of,int _li){ OggOpusLink *links; - ogg_int64_t diff; + ogg_int64_t diff=0; int nlinks; nlinks=_of->nlinks; if(OP_UNLIKELY(_of->ready_state