summaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2018-08-08 15:26:32 +0100
committerAndres Gomez <[email protected]>2018-08-09 15:19:00 +0300
commit6606cacd3d96a0b87a3ce6ee7d85b37eec37caea (patch)
treeca5cfdb76624c54b8f026e15cfa9e0c1670a123b /src/intel
parent1378f33142123f6f5b96ce1d4ac5e8e2440ea6a2 (diff)
intel/tools: add missing variable initialisation
Fixes: 6a60beba4089315685b8 "intel/tools: Add an error state to aub translator" Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]> (cherry picked from commit aac80f75973b61a8a31f873a9de6bcf294ea493c)
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/tools/error2aub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/tools/error2aub.c b/src/intel/tools/error2aub.c
index 3407dcec0b7..2030593691c 100644
--- a/src/intel/tools/error2aub.c
+++ b/src/intel/tools/error2aub.c
@@ -205,7 +205,7 @@ main(int argc, char *argv[])
BO_TYPE_UNKNOWN = 0,
BO_TYPE_BATCH,
BO_TYPE_USER,
- } bo_type;
+ } bo_type = BO_TYPE_UNKNOWN;
uint64_t bo_addr;
char *line = NULL;