Skip to content

Commit

Permalink
merian: context: ignore unused warning
Browse files Browse the repository at this point in the history
  • Loading branch information
LDAP committed Nov 4, 2024
1 parent 55920e2 commit 176c37f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/merian/vk/context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ void Context::create_instance() {
};

instance = vk::createInstance(instance_create_info);
const uint32_t instance_vulkan_version = vk::enumerateInstanceVersion();
[[maybe_unused]] const uint32_t instance_vulkan_version = vk::enumerateInstanceVersion();
SPDLOG_DEBUG("instance created (version: {}.{}.{})",
VK_API_VERSION_MAJOR(instance_vulkan_version),
VK_API_VERSION_MINOR(instance_vulkan_version),
Expand Down

0 comments on commit 176c37f

Please sign in to comment.