Module: Mesa
Branch: staging/18.2
Commit: 6606cacd3d96a0b87a3ce6ee7d85b37eec37caea
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6606cacd3d96a0b87a3ce6ee7d85b37eec37caea

Author: Eric Engestrom <eric.engest...@intel.com>
Date:   Wed Aug  8 15:26:32 2018 +0100

intel/tools: add missing variable initialisation

Fixes: 6a60beba4089315685b8 "intel/tools: Add an error state to aub translator"
Signed-off-by: Eric Engestrom <eric.engest...@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
(cherry picked from commit aac80f75973b61a8a31f873a9de6bcf294ea493c)

---

 src/intel/tools/error2aub.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/intel/tools/error2aub.c b/src/intel/tools/error2aub.c
index 3407dcec0b..2030593691 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;

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to