diff options
author | Matt Turner <[email protected]> | 2017-08-25 20:22:11 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2017-08-29 15:20:57 -0700 |
commit | 012887ef48763aa3e9860fbd369f75c6ae26f5cf (patch) | |
tree | 2f5f66331f1e15c9eebe33ce2e8f4d5ee7e8b728 /src/intel/vulkan/anv_formats.c | |
parent | e99dcfd80302fb2bd21436f64a78ada0f48cc649 (diff) |
anv: Use GNU C empty brace initializer
Avoids Clang's warning about the current code:
warning: suggest braces around initialization of subobject
Reviewed-by: Emil Velikov <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_formats.c')
-rw-r--r-- | src/intel/vulkan/anv_formats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_formats.c b/src/intel/vulkan/anv_formats.c index 98085085231..6ce609ae8dd 100644 --- a/src/intel/vulkan/anv_formats.c +++ b/src/intel/vulkan/anv_formats.c @@ -739,7 +739,7 @@ VkResult anv_GetPhysicalDeviceImageFormatProperties2KHR( * the implementation for use in vkCreateImage, then all members of * imageFormatProperties will be filled with zero. */ - base_props->imageFormatProperties = (VkImageFormatProperties) {0}; + base_props->imageFormatProperties = (VkImageFormatProperties) {}; } return result; |