intel: Mark an otherwise unused variable in intel_dump_gpu as ASSERTED

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9862>
This commit is contained in:
Kenneth Graunke
2021-03-26 11:04:49 -07:00
committed by Marge Bot
parent 1df4f11eb5
commit d67b343aa0
+1 -1
View File
@@ -480,7 +480,7 @@ maybe_init(int fd)
bos = calloc(MAX_FD_COUNT * MAX_BO_COUNT, sizeof(bos[0]));
fail_if(bos == NULL, "out of memory\n");
int ret = get_pci_id(fd, &device);
ASSERTED int ret = get_pci_id(fd, &device);
assert(ret == 0);
aub_file_init(&aub_file, output_file,