mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 08:20:12 +01:00
intel/decoders: silence uninitialized variable warnings in gen_print_batch()
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
This commit is contained in:
parent
e5e2be3c73
commit
b5ea56e411
1 changed files with 2 additions and 2 deletions
|
|
@ -874,9 +874,9 @@ gen_print_batch(struct gen_batch_decode_ctx *ctx,
|
|||
}
|
||||
|
||||
if (strcmp(inst_name, "MI_BATCH_BUFFER_START") == 0) {
|
||||
uint64_t next_batch_addr;
|
||||
uint64_t next_batch_addr = 0;
|
||||
bool ppgtt = false;
|
||||
bool second_level;
|
||||
bool second_level = false;
|
||||
struct gen_field_iterator iter;
|
||||
gen_field_iterator_init(&iter, inst, p, 0, false);
|
||||
while (gen_field_iterator_next(&iter)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue