mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
v3d: Fix a release build set-but-unused compiler warning.
This commit is contained in:
parent
0c05198d6b
commit
6053c7bb43
1 changed files with 2 additions and 1 deletions
|
|
@ -651,7 +651,8 @@ v3d_spec_load(const struct v3d_device_info *devinfo)
|
|||
struct parser_context ctx;
|
||||
void *buf;
|
||||
uint8_t *text_data = NULL;
|
||||
uint32_t text_offset = 0, text_length = 0, total_length;
|
||||
uint32_t text_offset = 0, text_length = 0;
|
||||
MAYBE_UNUSED uint32_t total_length;
|
||||
|
||||
for (int i = 0; i < ARRAY_SIZE(genxml_files_table); i++) {
|
||||
if (i != 0) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue