diff options
author | Eric Engestrom <[email protected]> | 2018-10-20 18:00:08 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2018-10-25 12:43:18 +0100 |
commit | bb84fa146f2252f22999205a2904d8a948bffd3b (patch) | |
tree | 2e4773252d67da46590ec4a545fc10f6125043a9 /src/vulkan | |
parent | 3d261cf77b35c56cc575ce9bb7909d2f8d920233 (diff) |
util: use C99 declaration in the for-loop hash_table_foreach() macro
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/vulkan')
-rw-r--r-- | src/vulkan/wsi/wsi_common_x11.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/vulkan/wsi/wsi_common_x11.c b/src/vulkan/wsi/wsi_common_x11.c index 16a544ec775..6eb72827eda 100644 --- a/src/vulkan/wsi/wsi_common_x11.c +++ b/src/vulkan/wsi/wsi_common_x11.c @@ -1545,7 +1545,6 @@ wsi_x11_finish_wsi(struct wsi_device *wsi_device, (struct wsi_x11 *)wsi_device->wsi[VK_ICD_WSI_PLATFORM_XCB]; if (wsi) { - struct hash_entry *entry; hash_table_foreach(wsi->connections, entry) wsi_x11_connection_destroy(wsi_device, entry->data); |