v3d: Fix a release build set-but-unused compiler warning.
This commit is contained in:
parent
0c05198d6b
commit
6053c7bb43
|
@ -651,7 +651,8 @@ v3d_spec_load(const struct v3d_device_info *devinfo)
|
||||||
struct parser_context ctx;
|
struct parser_context ctx;
|
||||||
void *buf;
|
void *buf;
|
||||||
uint8_t *text_data = NULL;
|
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++) {
|
for (int i = 0; i < ARRAY_SIZE(genxml_files_table); i++) {
|
||||||
if (i != 0) {
|
if (i != 0) {
|
||||||
|
|
Loading…
Reference in New Issue