Reviewed-by: Lionel Landwerlin <[email protected]>

On 08/03/2019 15:52, Brian Paul wrote:
---
  src/intel/common/gen_batch_decoder.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/intel/common/gen_batch_decoder.c 
b/src/intel/common/gen_batch_decoder.c
index ff898d8..5cac983 100644
--- a/src/intel/common/gen_batch_decoder.c
+++ b/src/intel/common/gen_batch_decoder.c
@@ -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)) {


_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to