- UNINITIALIZED_IS_SAFE Macro triggers a warning in Clang for
  structs.

Change-Id: Ib02c82f1fede7826564e17ccb7171c6fb18b8e44
This commit is contained in:
Frank Galligan 2013-04-17 15:46:12 -07:00
Родитель 3810bca9a9
Коммит 2bb8ecad02
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1550,7 +1550,7 @@ static void decode_tiles(VP9D_COMP *pbi,
if (pbi->oxcf.inv_tile_order) { if (pbi->oxcf.inv_tile_order) {
const int n_cols = pc->tile_columns; const int n_cols = pc->tile_columns;
const uint8_t *data_ptr2[4][1 << 6]; const uint8_t *data_ptr2[4][1 << 6];
BOOL_DECODER UNINITIALIZED_IS_SAFE(bc_bak); BOOL_DECODER bc_bak = {0};
// pre-initialize the offsets, we're going to read in inverse order // pre-initialize the offsets, we're going to read in inverse order
data_ptr2[0][0] = data_ptr; data_ptr2[0][0] = data_ptr;