diff --git a/tools/spec.py b/tools/spec.py index 8f99e9d..51e8f58 100644 --- a/tools/spec.py +++ b/tools/spec.py @@ -882,8 +882,8 @@ if __name__ == '__main__': #pragma GCC diagnostic ignored "-Wunused-parameter" - static cruft::vk::icd::instance_table const *i_table = nullptr; - static cruft::vk::icd::device_table const *d_table = nullptr; + static cruft::vk::icd::instance_table const *i_table [[maybe_unused]] = nullptr; + static cruft::vk::icd::device_table const *d_table [[maybe_unused]] = nullptr; void (*cruft_vk_icdGetInstanceProcAddr) ( VkInstance instance,