intel/decoders: Avoid uninitialized variable warnings
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Fri, 23 Aug 2019 14:59:21 +0000 (07:59 -0700)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Fri, 23 Aug 2019 20:25:27 +0000 (13:25 -0700)
commit412ed1338fc2b745e7b171282d51f88c7b7801c0
tree81bb7b6fa30f0ea4c46554d024cc3b4d5e174663
parent0661480029f1f9be9c542893285d9fe68f0f0115
intel/decoders: Avoid uninitialized variable warnings

Initialize `next_batch_addr` and `second_level`.  If the batch is well
formed, those values will be overriden, if not, they are as good as
uninitialized garbage.

Acked-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/tools/aubinator_viewer_decoder.cpp