From 2e4ca9d1a563ae64cdc83a303534c60bdafe8a6f Mon Sep 17 00:00:00 2001 From: Jim Bankoski Date: Wed, 4 Sep 2013 18:38:41 -0700 Subject: [PATCH] resolve clang warnings : uninitialized vars in vp9_entropy.h This helps clear out some of the warnings Change-Id: Ie7ccaca8fd92542386a7f1b257398e1bdf2f55dc --- vp9/common/vp9_entropy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vp9/common/vp9_entropy.h b/vp9/common/vp9_entropy.h index 699b44afb..f138c0955 100644 --- a/vp9/common/vp9_entropy.h +++ b/vp9/common/vp9_entropy.h @@ -341,7 +341,7 @@ static int get_entropy_context(const MACROBLOCKD *xd, TX_SIZE tx_size, ENTROPY_CONTEXT *A, ENTROPY_CONTEXT *L, const int16_t **scan, const uint8_t **band_translate) { - ENTROPY_CONTEXT above_ec, left_ec; + ENTROPY_CONTEXT above_ec = 0, left_ec = 0; switch (tx_size) { case TX_4X4: -- 2.40.0