mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
intel/tools: initialise bo_addr to 0 in main
Supresses a maybe-uninitialized warning with GCC 8. Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
This commit is contained in:
parent
ccdefbb559
commit
4228e052b3
1 changed files with 1 additions and 1 deletions
|
|
@ -206,7 +206,7 @@ main(int argc, char *argv[])
|
|||
BO_TYPE_BATCH,
|
||||
BO_TYPE_USER,
|
||||
} bo_type = BO_TYPE_UNKNOWN;
|
||||
uint64_t bo_addr;
|
||||
uint64_t bo_addr = 0;
|
||||
|
||||
char *line = NULL;
|
||||
size_t line_size;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue