From d9c33b2d2c3cad97b2735685c66594511d7feae7 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Thu, 6 Dec 2018 16:01:19 +1100 Subject: [PATCH] tools/spec: labelled unused variables as unused --- tools/spec.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,